/* =====================================================================
   WEBDESIGN PORTFOLIO TEMPLATE – Stylesheet
   ---------------------------------------------------------------------
   Breakpoints:  ≥1920 | ≥1440 | Basis (992–1439) | ≤991 | ≤767 | ≤479
   ===================================================================== */

/* ---------------------------------------------------------------------
   ▼ ANPASSEN: Design-Variablen (Farben, Schriften, Radien)
   --------------------------------------------------------------------- */
:root {
  --almost-black: #0b0c0d;          /* Seitenhintergrund */
  --darkgrey: #1e1f25;              /* Karten (Leistungen, FAQ) */
  --offwhite: #f6f8f1;              /* Text & Footer-Hintergrund */
  --offwhite-80: rgba(246, 248, 241, .8);
  --offwhite-50: rgba(246, 248, 241, .5);
  --offwhite-10: rgba(246, 248, 241, .1);
  --almost-black-80: rgba(11, 12, 13, .8);
  --almost-black-10: rgba(11, 12, 13, .1);
  --darkgrey-60: rgba(24, 24, 24, .6);
  --blue: #3a33ff;                  /* Akzent (Hamburger-Hover) */
  --accent: #afacff;                /* Leuchteffekte */

  --radius: 4px;
  --radius-m: .25rem;
  --radius-l: .5rem;

  --font-body: "General Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Monument Extended", "Archivo", "Arial Black", sans-serif;

  --ease-out: cubic-bezier(.215, .61, .355, 1);
  --ease-expo: cubic-bezier(.165, .84, .44, 1);

  /* Geschwindigkeit der Laufschriften */
  --marquee-hero-duration: 22s;
  --marquee-tools-duration: 40s;
}

/* Display-Font: Datei in assets/fonts ablegen (siehe README). Ohne Datei greift der Fallback "Archivo". */
@font-face {
  font-family: "Monument Extended";
  src: url("../assets/fonts/MonumentExtended-Regular.woff2") format("woff2"),
       url("../assets/fonts/MonumentExtended-Regular.otf") format("opentype");
  font-weight: 100 900;            /* eine Datei für alle Gewichte → kein künstliches Fettdrucken */
  font-style: normal;
  font-display: swap;
}

/* ---------------------------------------------------------------------
   Basis
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }

body {
  margin: 0;
  min-height: 100%;
  background-color: var(--almost-black);
  color: var(--offwhite);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media (min-width: 1440px) { body { font-size: 1.1rem; } }
@media (min-width: 1920px) { body { font-size: 1.2rem; } }

img { max-width: 100%; display: inline-block; vertical-align: middle; border: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
em { font-style: italic; }

h1, h2 {
  font-family: var(--font-display);
  font-stretch: 125%;              /* wirkt nur beim Fallback "Archivo" */
  font-weight: 800;                /* Fallback fett wie Monument Extended; die echte Datei ignoriert das Gewicht */
  text-transform: uppercase;
  margin: 20px 0 10px;
}
h1 { font-size: 80px; line-height: .9; letter-spacing: -.01em; color: var(--offwhite); }
h2 { font-size: 50px; line-height: 1; }
h3 { font-size: 28px; font-weight: 600; line-height: 1; text-transform: uppercase; margin: 30px 0 20px; }

.overflow-hid { overflow: hidden; }
.span-semibold { font-weight: 600; }
.span-semibold.white { color: var(--offwhite); }
.img-cover { z-index: 1; object-fit: cover; width: 100%; height: 100%; }

/* ---------------------------------------------------------------------
   Seitenrahmen
   --------------------------------------------------------------------- */
.box-container {
  position: relative;
  max-width: 100vw;
  overflow: clip;
  padding-bottom: 100vh;           /* Platz, damit der fixierte Footer freigelegt wird */
}
@media (max-width: 991px) { .box-container { padding-bottom: calc(60vw + 30svh); } }
@media (max-width: 767px) { .box-container { padding-bottom: 100vh; } }

.pagecontent { position: relative; z-index: 2; background-color: var(--almost-black); }

.section { position: relative; z-index: 2; padding: 90px 0; }
@media (min-width: 1440px) { .section { padding: 100px 0; } }
@media (min-width: 1920px) { .section { padding: 110px 0; } }
@media (max-width: 991px)  { .section { padding: 70px 0; } }
@media (max-width: 767px)  { .section { padding: 40px 15px; } }
@media (max-width: 479px)  { .section { padding-top: 50px; padding-bottom: 50px; } }

.container { position: relative; z-index: 2; width: 90%; max-width: 1500px; margin: 0 auto; }
.container.wide { max-width: 1600px; }
.container.hero { width: 80%; max-width: 1200px; mix-blend-mode: exclusion; }
.container.footer { z-index: 4; display: flex; flex-direction: column; }
@media (min-width: 1440px) { .container { width: 88%; } }
@media (min-width: 1920px) { .container { max-width: 1600px; } }
@media (max-width: 767px)  { .container, .container.wide { width: 92%; } }
@media (max-width: 479px)  { .container { width: 100%; max-width: 100%; } .container.wide { width: 100%; } .container.hero { width: 90%; } }

.topgradient-fixed {
  position: fixed; top: 0; left: 0; right: 0; z-index: 5;
  height: 130px; opacity: .3; pointer-events: none;
  background-image: linear-gradient(#000, transparent);
}
@media (max-width: 767px) { .topgradient-fixed { height: 70px; } }
@media (max-width: 479px) { .topgradient-fixed { height: 80px; } }

/* ---------------------------------------------------------------------
   Preloader
   --------------------------------------------------------------------- */
.preloader {
  position: fixed; inset: 0; z-index: 200;
  display: flex; justify-content: center; align-items: center;
  background: #000; pointer-events: none;
  transition: transform .9s var(--ease-expo), opacity .6s ease;
}
.preloader.is-done { transform: translateY(-100%); opacity: 0; }
body[data-preloader="off"] .preloader { display: none; }
.preload-center { display: flex; flex-direction: column; align-items: center; margin-bottom: 5%; }
.preload-logo {
  font-family: var(--font-display); font-stretch: 125%;
  font-size: 19px; line-height: 1; letter-spacing: .5px; text-transform: uppercase; color: var(--offwhite); font-weight: 800;
  transform: translateY(110%); opacity: 0;
  transition: transform .8s var(--ease-expo), opacity .5s ease;
}
.preloader.is-ready .preload-logo { transform: none; opacity: 1; }
.preload-mark { width: 48px; margin-bottom: 16px; opacity: 0; transform: translateY(12px); transition: opacity .6s ease .05s, transform .8s var(--ease-expo) .05s; }
.preloader.is-ready .preload-mark { opacity: 1; transform: none; }
.loadbar-wrap { width: 100%; height: 1px; margin-top: 20px; background: rgba(255, 255, 255, .2); display: flex; }
.load-bar { width: 0; height: 1px; background: var(--offwhite); transition: width 1.1s var(--ease-expo); }
.preloader.is-ready .load-bar { width: 100%; }
@media (min-width: 1920px) { .preload-logo { font-size: 21px; } }
@media (max-width: 991px)  { .preload-logo { font-size: 20px; } }
@media (max-width: 767px)  { .preload-logo { font-size: 17px; } }

/* ---------------------------------------------------------------------
   Navigation – Logo
   --------------------------------------------------------------------- */
.nav-left  { position: fixed; top: 20px; left: 20px; z-index: 101; }
.nav-right { position: fixed; top: 25px; right: 25px; z-index: 101; }
@media (min-width: 1920px) { .nav-left { top: 25px; left: 25px; } .nav-right { top: 30px; right: 30px; } }
@media (max-width: 991px)  { .nav-left { top: 25px; left: 25px; } .nav-right { top: 25px; right: 25px; } }
@media (max-width: 767px)  { .nav-left { top: 10px; left: 10px; } .nav-right { top: 15px; right: 15px; } }

.nav-logo {
  position: relative; display: block;
  width: auto; max-width: 14em; height: 4.5em; font-size: .7rem; border-radius: .5em;
  text-decoration: none; opacity: 0;
  transition: opacity .8s ease .2s, max-width .6s var(--ease-expo);
}
body.is-scrolled .nav-logo { max-width: 5.4em; }
.js body.is-loaded .nav-logo, .no-js .nav-logo { opacity: 1; }
@media (min-width: 1440px) { .nav-logo { font-size: .8rem; } }
@media (max-width: 767px)  { .nav-logo { font-size: .5rem; } }
@media (max-width: 479px)  { .nav-logo { font-size: .6rem; } }

.navlogo-horiflex { display: flex; align-items: center; width: 100%; height: 100%; padding-left: .67em; padding-right: .3em; overflow: hidden; }
.navlogo-part {
  display: flex; flex-direction: column; gap: .18em; flex: none;
  font-family: var(--font-display); font-stretch: 125%;
  font-size: 1.28em; line-height: .95; text-transform: uppercase; color: var(--offwhite); font-weight: 800;
  white-space: nowrap;
}
.navlogo-part span { display: block; height: 1em; }
.navlogo-mark { display: block; flex: none; height: 3em; width: auto; }
.navlogo-extension { margin-left: .55em; opacity: 1; transition: opacity .35s ease; }
body.is-scrolled .navlogo-extension { opacity: 0; }

/* ---------------------------------------------------------------------
   Navigation – Kontakt-Button
   --------------------------------------------------------------------- */
.rnav { position: relative; display: flex; justify-content: center; align-items: center; }
.rnav-button {
  display: flex; align-items: center; gap: 15px; padding: 10px;
  font-size: 15px; font-weight: 600; line-height: 1; text-transform: uppercase; color: var(--offwhite);
  cursor: pointer;
}
.rnav-btn-text { position: relative; top: 1px; }
.rnav-icon-phone { display: none; width: 16px; }
.rnav-hamb-aniwrap { position: relative; display: block; overflow: hidden; }
.rnav-hamburger { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; transition: transform .4s var(--ease-expo); }
.rnav-hamburger.second { position: absolute; top: 0; left: 100%; }
.rnav-button:hover .rnav-hamburger { transform: translateX(-100%); }
.rnav-btn-line { display: block; width: 24px; height: 2px; border-radius: 10px; background: var(--offwhite); }
.rnav-btn-line.is-blue { background: var(--blue); }
@media (max-width: 991px) { .rnav-button { padding: 18px; } }
@media (max-width: 767px) { .rnav { display: block; } .rnav-button { padding: 5px; } .rnav-btn-text { font-size: 14px; } .rnav-btn-line { width: 20px; } }
@media (max-width: 479px) { .rnav-button { gap: 10px; } .rnav-btn-text { display: none; } .rnav-icon-phone { display: block; } }

/* ---------------------------------------------------------------------
   Navigation – Overlay
   --------------------------------------------------------------------- */
.nav-overlay-wrap {
  position: fixed; inset: 0; z-index: 150; display: flex;
  pointer-events: none; visibility: hidden;
  transition: visibility 0s linear .7s;
}
.nav-overlay-wrap.is-open { visibility: visible; pointer-events: auto; transition-delay: 0s; }
.nav-overlay-bg {
  position: absolute; inset: 0; width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, .35);
  opacity: 0; transition: opacity .7s ease;
}
.is-open .nav-overlay-bg { opacity: 1; }
/* Seite dahinter wird weichgezeichnet und leicht zurückgenommen (wie im Vorbild) */
.pagecontent, .section.is-footer, .nav-left { transition: filter .8s cubic-bezier(.77, 0, .175, 1); }
body.nav-open .pagecontent, body.nav-open .section.is-footer, body.nav-open .nav-left { filter: blur(14px) brightness(.85); }
.nav-overlay-window {
  position: absolute; top: 0; bottom: 0; left: 100%; z-index: 2;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  width: 45vw; min-width: 600px; max-width: 800px; height: 100dvh;
  padding: 60px 6vw 60px 8vw;
  background: #000; box-shadow: 0 0 180px rgba(255, 255, 255, .1);
  transition: transform .8s cubic-bezier(.77, 0, .175, 1);
}
.is-open .nav-overlay-window { transform: translateX(-100%); }
.btn-nav-overlay-close {
  position: absolute; top: 35px; right: 35px;
  display: flex; justify-content: center; align-items: center; width: 40px; height: 40px;
  border-radius: 50%; background: var(--offwhite);
  cursor: pointer; transition: transform .35s var(--ease-expo), background-color .2s;
}
.btn-nav-overlay-close:hover { transform: rotate(90deg); background: #fff; }
.x-close { width: 14px; filter: invert(1) brightness(.2); }

/* Inhalte des Panels blenden gestaffelt ein */
.nav-overlay-heading, .nav-overlay-contact-items > *, .nav-links > *, .nav-overlay-window .smalltext-row, .nav-overlay-socials {
  opacity: 0; transform: translateY(26px);
  transition: opacity .5s ease, transform .7s var(--ease-expo);
}
.is-open .nav-overlay-heading { opacity: 1; transform: none; transition-delay: .3s; }
.is-open .nav-overlay-contact-items > * { opacity: 1; transform: none; }
.is-open .nav-overlay-contact-items > *:nth-child(1) { transition-delay: .4s; }
.is-open .nav-overlay-contact-items > *:nth-child(2) { transition-delay: .47s; }
.is-open .nav-links > * { opacity: 1; transform: none; }
.is-open .nav-links > *:nth-child(1) { transition-delay: .56s; }
.is-open .nav-links > *:nth-child(2) { transition-delay: .62s; }
.is-open .nav-overlay-window .smalltext-row { opacity: 1; transform: none; transition-delay: .75s; }
.is-open .nav-overlay-socials { opacity: 1; transform: none; transition-delay: .8s; }
.nav-overlay-content { width: 100%; }
.nav-overlay-heading { margin: 0 0 40px; font-size: 4.5vw; line-height: .9; font-weight: 800; text-transform: uppercase; color: var(--offwhite); }
.nav-overlay-contact-items { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; margin-bottom: 50px; }
.nav-links { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; margin-top: 20px; }
.nav-link {
  position: relative; display: flex; align-items: center; gap: 10px;
  padding: 4px 0; font-size: 17px; font-weight: 600; text-transform: uppercase;
  color: var(--offwhite-80); text-decoration: none;
  transition: padding .3s var(--ease-expo), color .3s var(--ease-expo);
}
.nav-link:hover { color: var(--offwhite); padding-left: 8px; }   /* rückt beim Hover nur dezent nach rechts, ohne Markierungspunkt */
.smalltext-row { position: absolute; bottom: 30px; display: flex; align-items: center; gap: 15px; }
.smalltext { font-size: 13px; line-height: 1; letter-spacing: .5px; color: var(--offwhite-80); }
.smallsquare-smalltext { width: 6px; height: 6px; border-radius: 1px; background: var(--offwhite-50); }
.nav-overlay-window .smalltext.link { transition: color .2s var(--ease-out); }
.nav-overlay-window .link-block:hover .smalltext.link { color: var(--offwhite); }
/* Social-Links unten rechts im Menü – exakt an der Stelle, an der sie vorher in der Hero-Leiste standen (30 px vom Rand) */
.nav-overlay-socials { position: absolute; right: 30px; bottom: 30px; margin: 0; }
@media (min-width: 1440px) { .nav-overlay-heading { font-size: 62px; } }
@media (min-width: 1920px) { .nav-overlay-heading { font-size: 70px; } .nav-overlay-window { box-shadow: 0 0 220px rgba(255,255,255,.1); } .nav-link { font-size: 18px; } }
@media (max-width: 991px)  { .nav-overlay-window { min-width: 470px; max-width: 700px; } .nav-overlay-heading { font-size: 50px; } .nav-overlay-bg { background: rgba(0,0,0,.3); } }
@media (max-width: 767px)  {
  .nav-overlay-window { width: 90vw; min-width: 0; max-width: none; padding: 30px 4vw 30px 6vw; box-shadow: 0 0 120px rgba(255,255,255,.1); }
  .nav-overlay-heading { max-width: 8ch; margin-bottom: 20px; font-size: 34px; }
  .nav-overlay-contact-items { gap: 5px; margin-bottom: 0; }
  .x-close { width: 14px; }
  .nav-link { padding-right: 10px; font-size: 15px; }
  .nav-link:hover { padding-left: 0; }
  .smalltext { font-size: 12px; }
  .smalltext-row { gap: 10px; }
  .smallsquare-smalltext { width: 5px; height: 5px; }
  .nav-overlay-socials { right: 20px; bottom: 26px; }
  /* Handy: unten reicht der Platz nur für „Impressum“ + Social-Links – die ©-Zeile steht weiterhin im Footer */
  .nav-overlay-window .smalltext-row > .smalltext:first-child, .nav-overlay-window .smalltext-row > .smallsquare-smalltext { display: none; }
}
@media (max-width: 479px)  { .nav-overlay-window { width: 87vw; padding-left: 10vw; padding-right: 30px; } .nav-overlay-heading { font-size: 32px; } .nav-group-bottom { margin-top: 30px; } }

/* ---------------------------------------------------------------------
   Buttons
   --------------------------------------------------------------------- */
.btn-secondary {
  position: relative; display: inline-block; isolation: isolate;
  padding: 14px 0; border-radius: 100vw; background: transparent;
  color: var(--offwhite); font-size: 15px; font-weight: 600; line-height: 1; text-transform: uppercase;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: color .3s var(--ease-expo);
}
/* Die Pille ist eine Hintergrund-Ebene, die beim Hover um den Text herum wächst –
   Text und Layout bleiben stehen (nichts verschiebt sich, kein neuer Zeilenumbruch). */
.btn-secondary::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; right: 0; z-index: -1;
  border-radius: 100vw; background: var(--offwhite); opacity: 0;
  transition: left .3s var(--ease-expo), right .3s var(--ease-expo), opacity .25s var(--ease-expo);
}
.btn-secondary:hover { color: var(--almost-black); }
.btn-secondary:hover::before { left: -17px; right: -17px; opacity: 1; }
.btn-secondary.smaller { padding-top: 12px; padding-bottom: 12px; }
.btn-secondary.smaller:hover::before { left: -15px; right: -15px; }
.btn-secondary.invert { color: var(--almost-black); }
.btn-secondary.invert::before { background: var(--almost-black); }
.btn-secondary.invert:hover { color: var(--offwhite); }
.btn-secondary.spaceright { margin-right: 20px; }
.btn-secondary-inner { display: flex; align-items: center; gap: 8px; }
.btn-second-smallsquare {
  position: absolute; right: -20px; top: 50%; transform: translateY(-50%);
  width: 6px; height: 6px; border-radius: 1px; background: var(--offwhite);
  transition: background-color .3s var(--ease-expo), right .3s var(--ease-expo);
}
.btn-second-smallsquare.dark { background: var(--almost-black); }
.btn-secondary:hover .btn-second-smallsquare { right: -37px; }            /* wandert mit der wachsenden Pille nach außen */
.btn-secondary.smaller:hover .btn-second-smallsquare { right: -35px; }
@media (max-width: 991px) { .btn-secondary { flex: none; } }
@media (max-width: 767px) {
  .btn-secondary { padding-top: 10px; padding-bottom: 10px; font-size: 13px; }
  .btn-secondary:hover::before { left: -15px; right: -15px; }
  .btn-secondary.smaller { padding-top: 10px; padding-bottom: 10px; }
  .btn-secondary.smaller:hover::before { left: -12px; right: -12px; }
  .btn-second-smallsquare { right: -15px; }
  .btn-secondary:hover .btn-second-smallsquare { right: -30px; }
  .btn-secondary.smaller:hover .btn-second-smallsquare { right: -27px; }
}

/* ---------------------------------------------------------------------
   Kleine Bausteine
   --------------------------------------------------------------------- */
.chapter-heading-wrap { position: relative; display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-bottom: 60px; }
.chapter-heading {
  margin: 0; font-family: var(--font-body); font-stretch: normal;
  font-size: 1rem; font-weight: 600; line-height: 1; letter-spacing: 1px; text-transform: uppercase; color: var(--offwhite-80);
}
@media (max-width: 767px) { .chapter-heading-wrap { margin-bottom: 30px; } .chapter-heading { font-size: 13px; letter-spacing: .5px; } }
@media (max-width: 479px) { .chapter-heading { font-size: 14px; } }


.nav-location { display: flex; align-items: center; gap: 6px; margin-right: auto; opacity: .7; text-decoration: none; transition: opacity .2s ease; }
.nav-location:hover { opacity: 1; }
.icon-location { width: 13px; }
.icon-location.invert { filter: invert(1); }
.text-location { font-size: 14px; font-weight: 600; line-height: 1; text-transform: uppercase; }
@media (max-width: 767px) { .icon-location { width: 10px; } .text-location { font-size: 11px; } }

.webflowbadge-wrap { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.webflowbadge-icon { width: 16px; }
.webflowbadge-text { font-size: 13px; font-weight: 600; line-height: 1; text-transform: uppercase; color: var(--offwhite); }
@media (max-width: 767px) { .webflowbadge-icon { width: 15px; } .webflowbadge-text { font-size: 12px; } }

.hero-socials { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.social-icon-link {
  display: flex; justify-content: center; align-items: center;
  width: 34px; height: 34px; border-radius: 1px; background: transparent;
  transition: filter .2s var(--ease-out), background-color .2s var(--ease-out);
}
.social-icon { width: 16px; filter: invert(1); transition: filter .2s; }
.social-icon-link:hover { filter: invert(1); background: #000; }
.social-icon-link.invert { filter: invert(1); }
.social-icon-link.invert:hover { filter: invert(0); }
@media (max-width: 767px) { .hero-socials { gap: 3px; } .social-icon { width: 14px; } .social-icon-link { width: 30px; height: 30px; } }

.blue-light {
  position: absolute; z-index: 10; top: -55vw; right: -55vw;
  width: 150vw; height: 150vw; opacity: .1; pointer-events: none;
  background-image: radial-gradient(circle farthest-side at 50% 50%, var(--blue), transparent);
}
.blue-light.home {
  z-index: 1; top: 0; right: auto; left: 50%; transform: translateX(-50%);
  width: 120vw; height: 120vw; opacity: .2;
  background-image: radial-gradient(circle closest-corner at 50% 0%, var(--accent), rgba(175, 172, 255, 0));
}
@media (max-width: 479px) { .blue-light { width: 180vw; height: 180vw; top: 0; right: -90vw; } }

.prism-ani-wrap { position: relative; z-index: 0; display: flex; width: 100%; }
.prism { position: absolute; right: -10vw; width: 600px; opacity: .2; filter: blur(5px); mix-blend-mode: lighten; transform: rotate(31deg); pointer-events: none; }
.prism.v2 { top: -50px; left: 10%; right: auto; width: 200px; opacity: .32; transform: skewY(35deg) rotateY(180deg) rotate(-66deg); }
.prism.v5 { left: 30%; right: auto; width: 190px; opacity: .32; transform: skewY(-40deg) rotateY(180deg) rotate(-85deg); }
@media (max-width: 767px) { .prism.v2 { width: 120px; top: 0; } .prism.v5 { width: 120px; } }
@media (max-width: 479px) { .prism.v2, .prism.v5 { width: 100px; } }

/* ---------------------------------------------------------------------
   3D-Platzhalter (ersetzt die Spline-Szenen – siehe README)
   --------------------------------------------------------------------- */
.scene-placeholder { position: absolute; inset: 0; display: grid; place-items: center; perspective: 1400px; overflow: visible; }
.scene-placeholder > * { grid-area: 1 / 1; }
.scene-placeholder .orb {
  width: 50%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #ffffff 0%, #d4d5de 5%, #5a5b66 20%, #1b1c21 52%, #050506 100%);
  box-shadow: 0 50px 140px rgba(0, 0, 0, .7), inset -24px -34px 70px rgba(0, 0, 0, .7), inset 12px 12px 44px rgba(255, 255, 255, .06);
  animation: sceneFloat 9s ease-in-out infinite;
}
.scene-placeholder .ring {
  width: 78%; aspect-ratio: 1; border-radius: 50%;
  border: 1.5px solid rgba(246, 248, 241, .22);
  box-shadow: 0 0 40px rgba(175, 172, 255, .12), inset 0 0 40px rgba(175, 172, 255, .06);
  transform: rotateX(72deg);
  animation: sceneRing 16s linear infinite;
}
.scene-placeholder .ring.r2 { width: 98%; border-color: rgba(246, 248, 241, .1); animation-duration: 26s; animation-direction: reverse; }
.scene-placeholder .ring.r3 { width: 60%; border-color: rgba(246, 248, 241, .3); animation-duration: 11s; }
.scene-placeholder .dot {
  width: 7%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #9a9cb2 40%, #1a1b20);
  animation: sceneOrbit 12s linear infinite;
}
.scene-placeholder[data-variant="torus"] .ring { border-width: 12px; border-color: rgba(246, 248, 241, .07); box-shadow: 0 0 60px rgba(175,172,255,.15), inset 0 0 30px rgba(255,255,255,.08); }
.scene-placeholder[data-variant="torus"] .ring.r1 { width: 72%; }
.scene-placeholder .cube { width: 38%; aspect-ratio: 1; transform-style: preserve-3d; animation: sceneCube 18s linear infinite; }
.scene-placeholder .cube i {
  position: absolute; inset: 0; display: block;
  border: 1.5px solid rgba(246, 248, 241, .28);
  background: linear-gradient(135deg, rgba(246,248,241,.06), rgba(175,172,255,.02));
  box-shadow: inset 0 0 40px rgba(175,172,255,.06);
  --d: 19%;
}
.scene-placeholder .cube i:nth-child(1) { transform: translateZ(var(--cube-d, 4rem)); }
.scene-placeholder .cube i:nth-child(2) { transform: rotateY(180deg) translateZ(var(--cube-d, 4rem)); }
.scene-placeholder .cube i:nth-child(3) { transform: rotateY(90deg) translateZ(var(--cube-d, 4rem)); }
.scene-placeholder .cube i:nth-child(4) { transform: rotateY(-90deg) translateZ(var(--cube-d, 4rem)); }
.scene-placeholder .cube i:nth-child(5) { transform: rotateX(90deg) translateZ(var(--cube-d, 4rem)); }
.scene-placeholder .cube i:nth-child(6) { transform: rotateX(-90deg) translateZ(var(--cube-d, 4rem)); }
@keyframes sceneFloat { 0%, 100% { transform: translateY(-3%) } 50% { transform: translateY(3%) } }
@keyframes sceneRing  { from { transform: rotateX(72deg) rotateZ(0deg) } to { transform: rotateX(72deg) rotateZ(360deg) } }
@keyframes sceneOrbit { from { transform: rotate(0deg) translateX(320%) rotate(0deg) } to { transform: rotate(360deg) translateX(320%) rotate(-360deg) } }
@keyframes sceneCube  { from { transform: rotateX(-20deg) rotateY(0deg) } to { transform: rotateX(-20deg) rotateY(360deg) } }

/* ---------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------- */
.section.hero-3d { display: flex; justify-content: center; align-items: center; height: 100svh; padding: 120px 0 80px; overflow: clip; }
@media (max-width: 991px) { .section.hero-3d { padding-top: 100px; } }
@media (max-width: 767px) { .section.hero-3d { height: 100svh; max-height: 420px; padding: 60px 15px 40px; } }
@media (max-width: 479px) { .section.hero-3d { max-height: 740px; padding-bottom: 60px; } }

/* Der Stein steht links (Text und Button rechts) – gespiegelt zum Vorbild */
.spline-scene-wrap {
  position: absolute; left: 50%; top: 54%; transform: translate(-50%, -50%); z-index: 1;
  display: flex; justify-content: flex-start; align-items: center;
  width: 95%; max-width: 2000px; padding-left: 3%; pointer-events: none;
}
.spline-gradient { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; height: 30%; background-image: linear-gradient(0deg, var(--almost-black), rgba(11, 12, 13, 0)); }
.spline-scene-transform { position: relative; transform: scale(1.2); }
/* Feld: 23em hoch, 34em breit; der negative Rand nach links hält den Mittelpunkt des Steins am linken Rand */
.spline-scene { position: relative; z-index: 4; width: 34em; height: 23em; margin-right: auto; margin-left: -5.5em; font-size: calc(1.5vmax + 1vmin); --cube-d: 4.4em; }
.spline-scene canvas { position: absolute; inset: 0; display: block; width: 100% !important; height: 100% !important; }
.spline-scene .scene-placeholder { inset: 8% 20%; }
@media (min-width: 1440px) { .spline-scene-wrap { width: 90%; } .spline-scene-transform { transform: scale(1.1); } }
@media (min-width: 1920px) { .spline-scene-wrap { padding-left: 1%; } .spline-scene-transform { transform: scale(1); } }
@media (max-width: 991px) { .spline-scene-wrap { padding-left: 0; } .spline-scene-transform { transform: scale(1.1); } .spline-scene { width: 26em; height: 26em; margin-left: -3em; } }
/* Handy: Stein in der freien Fläche oberhalb der Laufschrift, mittig */
@media (max-width: 767px)  {
  .spline-scene-wrap { top: 7vh; transform: translateX(-50%); align-items: flex-start; justify-content: center; padding: 0; }
  .spline-scene-transform { transform: none; }
  .spline-scene { width: 64vw; height: 64vw; margin: 0; left: 0; }
  .spline-gradient { display: none; }
}

.home-hero-foreground { position: absolute; left: 0; right: 0; width: 100%; }
.repeat-track { position: relative; z-index: 5; display: flex; width: 100%; font-size: 10.3rem; mix-blend-mode: exclusion; overflow: hidden; }
.repeat-inner { display: flex; flex: none; will-change: transform; animation: heroMarquee var(--marquee-hero-duration) linear infinite; }
.repeat-text {
  position: relative; z-index: 4; flex: none; margin: 0; padding-right: .3em;
  font-family: var(--font-display); font-stretch: 125%; font-size: 1em; font-weight: 800; line-height: .9; letter-spacing: -.01em;
  text-transform: uppercase; white-space: pre; color: var(--offwhite);
}
@keyframes heroMarquee { from { transform: translateX(0) } to { transform: translateX(calc(-1 * var(--marquee-shift, 33.333%))) } }
.gradient-left  { position: absolute; top: 0; bottom: 0; left: 0;  z-index: 6; width: 20%; opacity: .6;  pointer-events: none; background-image: linear-gradient(90deg, #000, transparent); }
.gradient-right { position: absolute; top: 0; bottom: 0; right: 0; z-index: 7; width: 20%; opacity: .62; pointer-events: none; background-image: linear-gradient(270deg, #000, transparent); }
@media (min-width: 1440px) { .repeat-track { font-size: 12rem; } }
@media (min-width: 1920px) { .repeat-track { font-size: 11vw; } }
@media (max-width: 991px)  { .repeat-track { font-size: 8rem; } }
@media (max-width: 767px)  { .repeat-track { font-size: 4.8rem; } }

/* Untertitel und Button sitzen rechts im Container (der Stein links); der Block bleibt linksbündig gesetzt */
.home-hero-content { display: grid; justify-content: end; justify-items: start; padding-top: 1rem; }
.home-hero-p { max-width: 30ch; margin: 1.6rem 0 2.6rem; font-size: 1rem; font-weight: 600; line-height: 1.2; text-transform: uppercase; mix-blend-mode: exclusion; }
@media (min-width: 1440px) { .home-hero-p { font-size: 1.1rem; } }
@media (max-width: 767px) { .home-hero-p { margin: 1rem 0 15px; font-size: 16px; } .home-hero-content { justify-content: start; padding-top: .1rem; } }   /* Handy: Stein mittig oben, Text links */
@media (max-width: 479px)  { .home-hero-p { margin-bottom: 20px; } .home-hero-content { padding-top: 1rem; } }

.hero-bottom-bar { position: absolute; left: 30px; right: 30px; bottom: 30px; z-index: 10; }
.hero-bar-flex { display: flex; justify-content: space-between; align-items: center; gap: 30px 40px; width: 100%; }
@media (max-width: 767px) { .hero-bottom-bar { left: 20px; right: 20px; bottom: 10px; } }
@media (max-width: 479px) { .hero-bottom-bar { left: 20px; right: 20px; bottom: 20px; } }

/* Einblenden nach dem Preloader */
.js [data-hero-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform 1s var(--ease-expo); }
.js body.is-loaded [data-hero-reveal] { opacity: 1; transform: none; }
.js body.is-loaded [data-hero-reveal]:nth-of-type(2) { transition-delay: .12s; }
/* Der Button behält beim Einblenden seine Hover-Übergänge (Pille füllt sich und weitet sich – wie „Schreib mir“ im Footer) */
.js .btn-secondary[data-hero-reveal] { transition: opacity .9s ease, transform 1s var(--ease-expo), color .3s var(--ease-expo); }
.js body.is-loaded .btn-secondary[data-hero-reveal] { transition-delay: .12s, .12s, 0s; }
.js .repeat-track { opacity: 0; transform: translateY(20px); transition: opacity 1s ease .05s, transform 1.1s var(--ease-expo) .05s; }
.js body.is-loaded .repeat-track { opacity: 1; transform: none; }

/* ---------------------------------------------------------------------
   Leistungen
   --------------------------------------------------------------------- */
.section.home-services { padding-bottom: 80px; }
@media (min-width: 1440px) { .section.home-services { padding-bottom: 100px; } }
@media (max-width: 991px)  { .section.home-services { padding-bottom: 40px; } }
@media (max-width: 767px)  { .section.home-services { padding-bottom: 30px; } }

/* Links die beiden dunklen Karten übereinander, rechts die große helle Karte (breitere Spalte) */
.services-layout { position: relative; display: grid; grid-template-columns: 1fr 1.25fr; grid-template-rows: auto auto; gap: 1rem; perspective: 1000px; }
@media (min-width: 1920px) { .services-layout { gap: 1.2rem; } }
@media (max-width: 991px)  { .services-layout { grid-template-columns: 1fr 1fr; gap: 1rem; } }
@media (max-width: 767px)  { .services-layout { grid-template-columns: 1fr; gap: .6rem; } }
@media (max-width: 479px)  { .services-layout { grid-template-rows: auto; } }

.service-item {
  position: relative; display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  height: 20vw; max-height: 22rem; padding: 2.6rem;
  border: 1px solid transparent; border-radius: var(--radius-l); background: var(--darkgrey);
  backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
  overflow: hidden; cursor: default; perspective: 1000px;
}
.service-item.website {
  grid-column: 2; grid-row: 1 / span 2;
  height: auto; max-height: none; padding: 0; border: 0;
  justify-content: flex-start; align-items: stretch;
  background: var(--offwhite); color: var(--almost-black);
}
@media (min-width: 1920px) { .service-item { height: 22rem; padding: 3rem; } }
@media (max-width: 991px)  { .service-item { height: 18rem; max-height: none; padding: 2rem; } .service-item.website { height: 30rem; } }
@media (max-width: 767px)  { .service-item { height: auto; padding: 1.5rem; } .service-item.website { grid-column: auto; grid-row: auto; height: 22rem; } .service-item.v1 { gap: 1rem; } }
@media (max-width: 479px)  { .service-item { flex-direction: column; align-items: flex-start; padding: 2rem 1.5rem; } .service-item.website { height: auto; } }

/* Ohne Tool-Icons: Titel und Text stehen mittig im hellen Bereich (die Collage beginnt bei 60 % der Karte) */
.services_item-top { position: relative; z-index: 6; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-height: 60%; padding: 2.5rem 2.5rem 4rem; background: var(--offwhite); }
@media (min-width: 1440px) { .services_item-top { padding-top: 3rem; padding-left: 3rem; padding-right: 3rem; } }
@media (max-width: 991px)  { .services_item-top { padding-bottom: 5.5rem; } }   /* Platz für den absolut gesetzten Button */
@media (max-width: 767px)  { .services_item-top { padding: 1.8rem 1.8rem 5.5rem; } }
@media (max-width: 479px)  { .services_item-top { min-height: 0; padding: 2rem 1.5rem; } }

.service-icon-wrap { display: flex; justify-content: flex-start; align-items: center; gap: .3rem; margin-bottom: 4rem; }
.service-icon-img { display: block; height: 22px; width: auto; max-width: 28px; object-fit: contain; }   /* feste Höhe: die SVGs haben keine eigene Größe */
@media (max-width: 991px) { .service-icon-img { height: 26px; max-width: 32px; } }
@media (max-width: 767px) { .service-icon-wrap { margin-bottom: 3rem; } .service-icon-img { height: 22px; max-width: 28px; } }

.services_item-info { display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: 1rem; width: 100%; }
.services_item-info.is-website { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 3rem; }
@media (min-width: 1440px) { .services_item-info.is-website { gap: 4rem; } }
@media (min-width: 1920px) { .services_item-info { gap: 5rem; } }
@media (max-width: 991px)  { .services_item-info.is-website { flex-wrap: wrap; gap: 1.5rem 2rem; } .service-item.website .btn-secondary.invert { position: absolute; right: 3.5rem; bottom: 2rem; z-index: 7; } }
@media (max-width: 479px)  { .services_item-info.is-website { flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: 2rem; } .service-item.website .btn-secondary.invert { position: relative; right: auto; bottom: auto; } }

.services_item-heading-wrap { position: relative; z-index: 5; display: flex; flex-direction: column; align-items: flex-start; gap: 5px 10px; flex: none; margin-top: auto; }
.service-heading { margin: 0; font-size: 1.8rem; line-height: .9; text-transform: uppercase; }
.service-heading.website { font-size: 3.5vw; }
@media (min-width: 1440px) { .service-heading { font-size: 2rem; } .service-heading.website { font-size: 3.3rem; } }
@media (min-width: 1920px) { .service-heading { font-size: 2.2rem; } .service-heading.website { font-size: 3.5rem; } }
@media (max-width: 991px)  { .service-heading { font-size: 1.6rem; } .service-heading.website { font-size: min(3rem, 4vw); } }
@media (max-width: 767px)  { .service-heading { font-size: 3.5vw; } .service-heading.website { font-size: 2rem; } }
@media (max-width: 479px)  { .service-heading { font-size: 6.5vw; } .service-heading.website { font-size: 2rem; } }

.services_item-descr { display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: 1rem; flex: 1; min-width: 0; max-width: 17rem; margin-left: auto; }   /* min-width: 0 → der Button darf beim Hover breiter werden, ohne die Textspalte (und den Umbruch) zu verändern */
@media (max-width: 991px) { .services_item-descr { max-width: 16rem; margin-left: 0; } }
@media (max-width: 767px) { .services_item-descr { max-width: 15rem; } }
@media (max-width: 479px) { .services_item-descr { max-width: 100%; margin-left: 0; } }

.service-text { position: relative; z-index: 5; max-width: 36ch; font-size: 1rem; line-height: 1.3; color: var(--offwhite-80); text-wrap: pretty; }
.service-text.website { color: var(--almost-black-80); }
@media (min-width: 1440px) { .service-text { font-size: 1.1rem; } }
@media (max-width: 991px)  { .service-text { max-width: 560px; font-size: 1rem; } }
@media (max-width: 767px)  { .service-text { font-size: .9rem; } }
@media (max-width: 479px)  { .service-text { max-width: 100%; margin-left: 0; } }

/* Bild-Collage in der hellen Karte */
.service-grid_item-images {
  position: absolute; top: 60%; left: -16%; right: 0; bottom: 0;
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; gap: 1rem; place-items: start;
  width: 150%; height: 60%;
}
.services_item-image { display: flex; justify-content: flex-end; align-items: flex-start; width: 100%; }
.services_item-image.is-tall { grid-row: 1 / span 2; }
.services_item-image .img-cover { height: auto; aspect-ratio: 16 / 10; }
.img-cover.is-service-website { border-radius: var(--radius-l); box-shadow: 0 20px 60px rgba(11, 12, 13, .18); }
.ui-deco_border {
  display: inline-block; padding: 8px;
  border: 1px solid var(--offwhite-10); border-radius: var(--radius-l);
  background-color: var(--almost-black-10);
  background-image: linear-gradient(45deg, rgba(246, 248, 241, .04), rgba(246, 248, 241, .01));
  box-shadow: inset 0 0 20px 0 var(--almost-black-10);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  max-width: 90%;
}
.ui-deco_img { border-radius: var(--radius); width: 100%; }
@media (max-width: 767px) { .service-grid_item-images { gap: .6rem; } }
@media (max-width: 479px) { .service-grid_item-images { position: relative; top: 0; left: -50%; width: 200%; height: 55vw; margin-bottom: -10vw; } }

/* Dunkle Karten – Dekoration */
.blue-light-service {
  position: absolute; left: -300px; z-index: 1; width: 600px; height: 600px; opacity: .1; pointer-events: none;
  background-image: radial-gradient(circle farthest-side at 50% 50%, var(--accent), rgba(175, 172, 255, 0));
  transform: scaleX(1.5);
}
.service-lottie-wrap { position: absolute; inset: 0; display: flex; justify-content: flex-start; align-items: center; overflow: hidden; }
/* Illustrationen (Inline-SVG) oben rechts in den dunklen Karten; der Rahmen hängt bewusst oben aus der Karte.
   Ruhezustand 70 % Deckkraft, Hover 100 % (setzt js/main.js, Abschnitt 10). */
.service-lottie { position: absolute; top: 0; right: 0; z-index: 5; opacity: .7; }
.service-lottie.ux  { width: 260px; top: -69px; right: 28px; transform: rotate(-10deg); }
.service-lottie.dev { width: 262px; top: -16px; right: 4px; }
@media (max-width: 991px) { .service-lottie.ux { width: 210px; right: 10px; } .service-lottie.dev { width: 210px; top: -12px; right: -14px; } }
@media (max-width: 767px) { .service-lottie.ux { width: 180px; top: -50px; } .service-lottie.dev { width: 170px; top: -30px; right: -6px; } }
@media (max-width: 479px) { .service-lottie.ux { width: 200px; right: 10px; } .service-lottie.dev { width: 160px; top: -22px; right: 0; } .blue-light-service { width: 180vw; height: 180vw; top: 0; right: -90vw; left: auto; } }

/* ---------------------------------------------------------------------
   Features / Gründe
   --------------------------------------------------------------------- */
.section.reasons { padding-top: 0; padding-bottom: 0; }
@media (max-width: 767px) { .section.reasons { padding-left: 0; padding-right: 0; } }
@media (max-width: 479px) { .section.reasons { display: flex; flex-direction: column; gap: 3rem; } }

.lyt-home-feature { position: relative; z-index: 2; display: flex; justify-content: flex-start; align-items: stretch; min-height: 35vw; mix-blend-mode: exclusion; }
@media (min-width: 1920px) { .lyt-home-feature { max-width: 2000px; height: 42rem; min-height: 0; margin: 0 auto; } }
@media (max-width: 991px)  { .lyt-home-feature { min-height: 55vw; } }
@media (max-width: 767px)  { .lyt-home-feature { min-height: 40vw; } }
@media (max-width: 479px)  { .lyt-home-feature { flex-direction: column; } .lyt-home-feature.switch-mp { flex-direction: column-reverse; } }

.home-feat-spline-wrap { position: relative; display: flex; justify-content: center; align-items: center; width: 55%; }
.home-feat-spline { position: absolute; left: 0; right: 0; display: block; width: 100%; height: 100%; min-height: 35vw; pointer-events: none; --cube-d: 6vw; }
.home-feat-spline .scene-placeholder { inset: 8%; }
.home-feat-spline canvas { position: absolute; inset: 0; display: block; width: 100% !important; height: 100% !important; }
@media (min-width: 1920px) { .home-feat-spline { min-height: 0; left: auto; } .home-feat-spline.right { left: 0; right: auto; } }
@media (max-width: 991px)  { .home-feat-spline { min-height: 55vw; } }
@media (max-width: 767px)  { .home-feat-spline { min-height: 40vw; } }
@media (max-width: 479px)  { .home-feat-spline-wrap { width: 100%; height: 90vw; margin-bottom: -15vw; } .home-feat-spline { position: relative; min-width: 100%; min-height: 90vw; } }

.home-feature-content { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; flex: none; width: 50%; padding: 0 3.5rem; }
.home-feature-content-inner { position: relative; padding-left: 4rem; }
.home-feat-nr { position: absolute; left: 0; font-size: 1.1rem; font-weight: 500; color: var(--offwhite-50); }
.home-feat-h { max-width: 10ch; margin-top: 0; font-size: 3.6vw; line-height: .9; }
.home-feat-p { max-width: 26ch; margin: 1.2em 0; font-size: 1.1rem; color: var(--offwhite-80); }
@media (min-width: 1440px) { .home-feature-content { width: 45%; } .home-feat-nr { font-size: 1.2rem; } }
@media (min-width: 1920px) { .home-feat-h { font-size: 4.1rem; } .home-feat-nr { font-size: 1.3rem; } }
@media (max-width: 991px)  { .home-feature-content { padding: 0 2rem; } .home-feature-content-inner { padding-left: 3rem; } .home-feat-h { font-size: 4vw; } .home-feat-nr, .home-feat-p { font-size: 1rem; } }
@media (max-width: 767px)  { .home-feature-content { padding: 0 1rem; } .home-feature-content-inner { margin: 0 auto; padding-left: 0; } .home-feat-nr { position: relative; margin-bottom: 15px; font-size: .9rem; } .home-feat-h { font-size: 3.2vw; } .home-feat-p { font-size: .9rem; } }
@media (max-width: 479px)  {
  .home-feature-content { width: 100%; padding: 0; justify-content: center; align-items: center; text-align: center; }
  .home-feature-content-inner { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 90%; }
  .home-feat-nr { margin-bottom: 0; }
  .home-feat-h { margin-top: 15px; font-size: 7.2vw; }
  .home-feat-p { font-size: 1rem; }
}

/* ---------------------------------------------------------------------
   Cases (Sticky + horizontale Bewegung)
   --------------------------------------------------------------------- */
.home-cases-sticky-track { position: relative; z-index: 3; height: 170vw; }
.section.cases {
  position: sticky; top: 0;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  height: 100vh; margin-bottom: -2vw; padding: 4vw 0 0;
}
.home-cases-layout { position: relative; width: 90%; max-width: 1600px; height: 40vw; margin: 0 auto 2vw; }
.case-slider { position: relative; z-index: 2; display: flex; width: max-content; max-width: none; will-change: transform; }
.case-item-wrap { flex: none; width: 72vw; padding-right: 15vw; }
.case-item { display: flex; flex-direction: column; justify-content: flex-start; align-items: center; gap: 20px; width: 100%; }
.case-item-image { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: var(--darkgrey); }
.casevideo-cover { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.casevideo-cover video { display: block; width: 100%; height: 100%; object-fit: cover; }
.casevideo-cover.is-missing { display: none; }
.casevideo-img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.viewlive-wrap {
  position: absolute; right: 15px; bottom: 15px; z-index: 3;
  display: flex; justify-content: flex-end; align-items: center; gap: 0;
  padding-left: 15px; border-radius: 4px; background: var(--offwhite);
  text-decoration: none; overflow: hidden; transition: transform .3s var(--ease-expo);
}
.viewlive-wrap:hover { transform: translateY(-2px); }
.viewlive-text { font-size: 14px; text-transform: uppercase; white-space: nowrap; color: var(--almost-black); }
.viewlive-square { display: flex; justify-content: center; align-items: center; flex: none; width: 42px; height: 42px; }
.viewlive-icon { flex: none; width: 12px; }
.case-item-info { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.case-item-name { font-size: 17px; font-weight: 600; text-transform: uppercase; }
.case-item-services { display: none; align-items: center; gap: 20px; }   /* im Original ausgeblendet */
.case-item-services-text { font-size: 13px; font-weight: 600; text-transform: uppercase; }
@media (min-width: 1440px) { .section.cases { margin-bottom: 0; } .viewlive-wrap { right: 20px; bottom: 20px; } }
@media (min-width: 1920px) { .case-item-wrap { max-width: 1600px; } }
@media (max-width: 991px) {
  .home-cases-sticky-track { height: auto; }
  .section.cases { position: relative; height: auto; margin: 0; padding: 80px 0 90px; }
  .home-cases-layout { display: flex; flex-direction: column; width: 90%; height: auto; margin-top: 30px; }
  .case-slider { position: relative; flex-direction: column; gap: 80px; width: 100%; transform: none !important; }
  .case-item-wrap { width: 100%; padding-right: 0; }
  .casevideo-cover { display: none; }
  .viewlive-text { font-size: 13px; }
}
@media (max-width: 767px) {
  .section.cases { align-items: center; padding: 60px 15px; }
  .home-cases-layout { width: 92%; margin-top: 0; }
  .case-slider { gap: 50px; }
  .case-item-info { gap: 20px; }
  .case-item-name { font-size: 14px; }
  .viewlive-wrap { width: 38px; right: 10px; bottom: 10px; }
  .viewlive-text { display: none; }
  .viewlive-square { width: 38px; height: 38px; }
  .viewlive-icon { width: 10px; }
}
@media (max-width: 479px) {
  .home-cases-layout { width: 100%; }
  .case-slider { gap: 60px; }
  .case-item { gap: 15px; justify-content: flex-start; align-items: flex-start; }
  .case-item-info { flex-direction: column; align-items: flex-start; gap: 4px; }
  .viewlive-wrap { padding-left: 0; }
}

/* ---------------------------------------------------------------------
   Über mich
   --------------------------------------------------------------------- */
.section.about { display: flex; justify-content: center; align-items: center; }
@media (min-width: 1440px) { .section.about { padding-top: 70px; } }
@media (max-width: 991px)  { .section.about { padding-bottom: 90px; } }
@media (max-width: 767px)  { .section.about { padding-top: 40px; padding-bottom: 40px; } }
@media (max-width: 479px)  { .section.about { padding-top: 80px; } }

.layout-about { position: relative; display: flex; flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 2rem; }
.about-text { position: relative; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 30px; margin-top: 30px; text-align: left; }
.p-about { max-width: 26ch; margin: 0; font-family: var(--font-body); font-size: 4.1vw; font-weight: 500; line-height: 1.15; letter-spacing: -1px; }
.p-about-2 { max-width: 47ch; margin: 50px 0 5vw; font-size: 19px; color: var(--offwhite-80); text-wrap: pretty; }
.about-me { display: flex; gap: 2vw; }
.about-img-wrap { display: flex; justify-content: center; align-items: center; flex: none; width: 82px; height: 82px; border-radius: 100vw; overflow: hidden; }
.about-info { padding-top: .6rem; }
.about-me-txt { margin-bottom: .5em; font-size: 17px; font-weight: 600; text-transform: uppercase; }
.about-me-txt.small { max-width: 19ch; font-size: 15px; color: var(--offwhite-80); }
.about-text-btn-row { display: flex; align-items: center; gap: 40px; margin-top: 1.5rem; }
.spline-scene-about { position: absolute; bottom: 0; left: 49vw; width: 35vw; max-width: 420px; aspect-ratio: 1; pointer-events: none; --cube-d: 5vw; }
.spline-scene-about canvas { position: absolute; inset: 0; display: block; width: 100% !important; height: 100% !important; }
@media (min-width: 1440px) { .p-about { font-size: calc(2vw + 2rem); } .about-img-wrap { width: 86px; height: 86px; } .about-me { gap: 1.5rem; padding-right: 1vw; } }
@media (min-width: 1920px) { .p-about { font-size: calc(1vw + 3rem); } .p-about-2 { margin-top: 60px; font-size: 20px; } .about-me-txt { font-size: 18px; } .about-me-txt.small { font-size: 16px; } .spline-scene-about { max-width: 440px; bottom: -80px; } }
@media (max-width: 991px)  {
  .layout-about { flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 0; margin-bottom: 5px; }
  .about-text { margin-top: 70px; }
  .p-about { font-size: 5.7vw; }
  .p-about-2 { font-size: 18px; }
  .about-me { margin-left: auto; }
  .about-info { display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; text-align: left; }
  .spline-scene-about { left: 26.4vw; }
}
@media (max-width: 767px)  {
  .layout-about { gap: 1rem; }
  .about-text { gap: 15px; margin-top: 0; }
  .p-about { font-size: 5.3vw; }
  .p-about-2 { margin: 30px 0 20px; font-size: 15px; }
  .about-img-wrap { width: 58px; height: 58px; }
  .about-info { padding-top: .1rem; }
  .about-me-txt { font-size: 15px; }
  .about-me-txt.small { font-size: 13px; }
  .about-text-btn-row { gap: 30px; }
  .spline-scene-about { left: 24.1vw; }
}
@media (max-width: 479px)  {
  .layout-about { gap: 3rem; }
  .about-text { gap: 20px; width: auto; }
  .p-about { padding-right: 15px; font-size: 7.7vw; }
  .p-about-2 { max-width: 95%; }
  .about-me { gap: .8rem; }
  .about-me-txt { margin-bottom: .4em; font-size: 14px; }
  .spline-scene-about { width: 55vw; bottom: 0; left: 0; }
}

/* ---------------------------------------------------------------------
   USP-Liste
   --------------------------------------------------------------------- */
.usp-list { display: flex; flex-direction: column; gap: 10px; }
.usp-item { position: relative; display: flex; align-items: center; gap: 1.25rem; padding: 70px 50px 60px; border-bottom: 1px solid var(--offwhite-10); }
.usp-icon-wrap { position: relative; z-index: 2; flex: none; width: 6%; }
.usp-icon { width: 2.4rem; max-width: 100%; }
.usp-heading-wrap { position: relative; z-index: 2; flex: none; width: 50%; }
.usp-heading { margin: 0; font-family: var(--font-body); font-size: 2.1rem; font-weight: 600; }
.usp-p-wrap { position: relative; z-index: 2; flex: none; width: 38%; margin-left: auto; }
.usp-p { font-size: 1.2rem; color: var(--offwhite-80); }
.usp-bg-wrap { position: absolute; top: 14px; left: 0; right: 0; bottom: 0; display: flex; align-items: center; }
.usp-bg { position: absolute; left: 0; right: 0; z-index: 1; width: 100%; height: 100%; border-radius: var(--radius); background: var(--darkgrey); opacity: 0; transform: scaleY(.92); transform-origin: center; transition: opacity .3s var(--ease-out), transform .4s var(--ease-expo); }
.usp-item:hover .usp-bg { opacity: 1; transform: none; }
@media (min-width: 1920px) { .usp-item { padding-top: 100px; padding-bottom: 90px; } .usp-heading { font-size: 2.5rem; } .usp-p { font-size: 1.3rem; } }
@media (max-width: 991px)  { .usp-item { padding-left: 30px; padding-right: 30px; } .usp-heading { font-size: 1.9rem; } .usp-icon-wrap { width: 8%; } .usp-heading-wrap { flex: 1; } .usp-p-wrap { width: 40%; } .usp-p { font-size: 1.1rem; } }
@media (max-width: 767px)  { .usp-item { padding: 40px 20px; } .usp-heading { font-size: 1.3rem; } .usp-icon { transform: scale(.8); } .usp-icon-wrap { width: 7%; } .usp-p-wrap { width: 44%; } .usp-p { font-size: 1rem; } }
@media (max-width: 479px)  { .usp-item { flex-wrap: wrap; gap: 2rem; padding: 50px 25px; } .usp-icon { transform: none; } .usp-icon-wrap, .usp-heading-wrap, .usp-p-wrap { flex: none; width: 100%; } .usp-p { margin-bottom: 5px; } }

/* ---------------------------------------------------------------------
   Expertise – Laufbänder
   --------------------------------------------------------------------- */
.software-sidescroll-track { display: flex; width: max-content; will-change: transform; }
.software-sidescroll-track.dir-left  { animation: toolsLeft  var(--marquee-tools-duration) linear infinite; }
.software-sidescroll-track.dir-right { animation: toolsRight var(--marquee-tools-duration) linear infinite; }
@keyframes toolsLeft  { from { transform: translateX(0) }    to { transform: translateX(-50%) } }
@keyframes toolsRight { from { transform: translateX(-50%) } to { transform: translateX(0) } }
.software-grid-sidescroll { display: flex; flex: none; gap: .5rem; margin-bottom: .5rem; padding-right: .5rem; }
.software-item-sidescroll {
  position: relative; display: flex; justify-content: flex-start; align-items: center; gap: 1em; flex: none;
  width: 18em; padding: 3.3em 3em; font-size: 1.4vw;
  border-radius: var(--radius); background: var(--almost-black); overflow: hidden; cursor: default;
}
.software-tint { position: absolute; inset: 0; z-index: 1; border-radius: var(--radius); background: #fff; opacity: .15; }
.software-icon-box { position: relative; z-index: 2; display: flex; justify-content: center; align-items: center; width: 60px; height: 60px; }
.software-icon-img { position: relative; z-index: 2; width: 2.2em; max-width: 2.2em; max-height: 2.2em; }
.software-info-block { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; flex: 1; }
.software-name { font-size: .9em; font-weight: 600; text-transform: uppercase; }
.software-description { font-size: .9em; color: var(--offwhite-80); }
/* ▼ ANPASSEN: Farbtöne der Tool-Kärtchen */
.tint-webflow { background: #146ef5; }  .tint-figma { background: #a259ff; }   .tint-attributes { background: #b9fd3b; }
.tint-photoshop { background: #31a8ff; } .tint-illustrator { background: #ff9a00; } .tint-xd { background: #ff61f6; }
.tint-vimeo { background: #00adef; }    .tint-weglot { background: #473ae0; }  .tint-zapier { background: #ff4f00; }
.tint-lottie { background: #00ddb3; }   .tint-analytics { background: #f8ab00; } .tint-tagmanager { background: #246fdb; }
.tint-html { background: #e34f26; }     .tint-javascript { background: #f7df1e; } .tint-threejs { background: #ffffff; }
.tint-react { background: #61dafb; }    .tint-nextjs { background: #ffffff; }    .tint-typescript { background: #3178c6; }
.tint-tailwind { background: #06b6d4; } .tint-nodejs { background: #5fa04e; }    .tint-supabase { background: #3ecf8e; }
.tint-git { background: #f05032; }
@media (min-width: 1440px) { .software-item-sidescroll { font-size: 1.1vw; } }
@media (max-width: 991px)  { .software-item-sidescroll { gap: .5em; padding: 2.2em 1.6em; font-size: 2vw; } .software-icon-box { width: 50px; height: 50px; } .software-icon-img { width: 2.4em; max-width: 2.4em; max-height: 2.4em; } .software-tint { opacity: .1; } .software-name { font-size: 1em; } .software-info-block { gap: 5px; } }
@media (max-width: 767px)  { .software-grid-sidescroll { gap: .4rem; margin-bottom: .4rem; padding-right: .4rem; } .software-item-sidescroll { width: 16em; padding: 1.4em; } .software-icon-box { width: 45px; height: 45px; } .software-description { display: none; } .software-name { font-size: 1.1em; } .software-info-block { gap: 4px; } }
@media (max-width: 479px)  { .software-item-sidescroll { flex-direction: column; gap: .75em; width: 10em; padding-top: 2.2em; padding-bottom: 2.2em; font-size: 3.5vw; } .software-icon-img { max-width: 30px; max-height: 30px; } .software-name { font-size: .9em; } }

/* ---------------------------------------------------------------------
   FAQ
   --------------------------------------------------------------------- */
.section.faq { z-index: 4; padding: 80px 0 70px; }
@media (max-width: 991px) { .section.faq { padding-bottom: 50px; } }
@media (max-width: 767px) { .section.faq { padding: 50px 15px 40px; } }
.faq-layout { display: flex; flex-direction: row; justify-content: center; align-items: flex-start; gap: 8%; }
.faq-heading-wrap { flex: none; width: 38%; max-width: 500px; }
.faq-heading { margin: 0 0 4rem; font-family: var(--font-display); font-stretch: 125%; font-size: 2.7rem; font-weight: 800; line-height: .92; text-transform: uppercase; }
.small-cta-row { display: flex; align-items: center; gap: 2rem; }
.faq-questions { flex: 1; margin-bottom: 30px; }
.faq-cols { display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 1rem; }
.faq-column { display: grid; grid-template-columns: 1fr; gap: 10px; }
.faq-item {
  position: relative; z-index: 1; height: auto; padding-right: 30px;
  border: 1px solid var(--offwhite-10); border-radius: var(--radius-m); background: var(--darkgrey);
  transition: background-color .2s var(--ease-out), border-color .2s var(--ease-out);
}
.faq-item:hover { z-index: 2; background: var(--almost-black); }
.faq-question {
  position: relative; display: flex; justify-content: flex-start; align-items: center; gap: 20px;
  width: 100%; height: 80px; padding-left: 30px;
  font-size: 20px; font-weight: 500; line-height: 1.2; color: var(--offwhite); text-decoration: none; cursor: pointer;
  transition: gap .2s;
}
.faq-question:hover { gap: 27px; }
.faq-question-textwrap { position: relative; overflow: hidden; }
.faq-question-text { margin: 0; font-size: 1.1rem; font-weight: 600; line-height: 1; text-transform: uppercase; transition: transform .45s var(--ease-expo); }
.faq-question-text.second { position: absolute; top: -100%; left: 0; }
.faq-item:hover .faq-question-text { transform: translateY(100%); }
.faq-answer { height: 0; padding-left: 30px; overflow: hidden; transition: height .5s var(--ease-expo); }
.faq-answer-text { margin: 0 0 30px; font-size: 1.1rem; font-weight: 500; line-height: 1.3; color: var(--offwhite-80); text-wrap: pretty; }
.span-faq-short { font-size: 1em; font-weight: 600; line-height: 2.2; color: var(--offwhite); }
@media (min-width: 1440px) { .faq-heading { font-size: 2.9rem; } }
@media (min-width: 1920px) { .faq-heading { font-size: 3.4rem; } .faq-heading-wrap { max-width: 560px; } }
@media (max-width: 991px)  { .faq-layout { flex-direction: column; } .faq-heading-wrap { width: 100%; max-width: 100%; } .faq-heading { margin-bottom: 2rem; font-size: 5vw; } .small-cta-row { display: none; } .faq-questions { margin-right: 3vw; } .faq-cols { margin-top: 40px; } .faq-question-text { font-size: 18px; } }
@media (max-width: 767px)  {
  .faq-heading { margin-bottom: 1rem; font-size: 5.3vw; }
  .faq-questions { margin-right: 0; }
  .faq-cols { margin-top: 20px; }
  .faq-item { padding-right: 0; }
  .faq-question { height: 60px; padding: 0 22px; font-size: 16px; }
  .faq-question-text { font-size: 14px; }
  .faq-answer { padding: 0 22px; }
  .faq-answer-text { margin-bottom: 25px; font-size: 14px; line-height: 1.5; }
  .span-faq-short { font-size: 15px; }
}
@media (max-width: 479px)  { .faq-heading { padding-right: 15px; font-size: 7.7vw; } .faq-questions { flex: 1; margin: 0 auto; } .faq-question { gap: 15px; height: auto; padding: 25px 20px; } .faq-answer { padding: 0 20px; } .span-faq-short { font-size: 16px; } }

/* ---------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------- */
.section.is-footer {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1;
  display: flex; justify-content: flex-start; align-items: center;
  height: 100vh; background: var(--offwhite); color: var(--darkgrey);
}
.section.is-footer .container.footer { width: 90%; }
.layout-footer { display: flex; flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 40px 10vw; flex: 1; height: 100%; margin-bottom: 0; }
.footer-top { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px 0; }
.footer-heading { margin-top: 0; font-size: 6.5vw; line-height: .85; text-transform: uppercase; }
.footer-p { max-width: 45vw; margin: 50px 0 10px; color: var(--darkgrey-60); text-wrap: pretty; }
.footer-bottom { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; flex: none; padding-right: 3rem; }
.about-me-footer { display: flex; gap: 2vw; }
.about-img-wrap.footer { width: 80px; height: 80px; margin-bottom: 0; }
.about-info-footer { padding-top: .6rem; }
.about-me-txt.small.footer { color: #0f0f0f; }
.footer-contact-items { display: flex; flex-direction: column; align-items: flex-start; gap: 0 10px; margin-top: 70px; }
.footer-bottom-bar { position: absolute; left: 0; right: 0; bottom: 40px; z-index: 5; display: flex; justify-content: space-between; width: 100%; }
.footer-bottom-container { display: flex; justify-content: space-between; width: 92%; margin: 0 auto; }
.footer-bottom-left, .footer-bottom-right { display: flex; align-items: center; gap: 30px; }
.smalltext-row.footer { position: relative; bottom: auto; }
.smalltext.footer { color: var(--darkgrey-60); transition: color .2s var(--ease-out); }
.smalltext.footer:hover { color: var(--almost-black); }
.link-block { text-decoration: none; }
.is-footer .smallsquare-smalltext { background: var(--almost-black); }
@media (min-width: 1440px) { .about-me-footer { gap: 1.5rem; padding-right: 1vw; } }
@media (min-width: 1920px) { .section.is-footer { height: calc(30vw + 30svh); } .footer-heading { font-size: 110px; } .layout-footer { margin-bottom: 70px; } .about-img-wrap.footer { width: 88px; height: 88px; } .footer-p { font-size: 19px; } }
@media (max-width: 991px)  {
  .section.is-footer { height: calc(60vw + 30svh); }
  .layout-footer { flex-direction: column; align-items: center; gap: 60px; margin-bottom: 50px; text-align: center; }
  .footer-top { align-items: center; }
  .footer-heading { font-size: 9vw; }
  .footer-p { max-width: 100%; margin-top: 20px; font-size: 17px; }
  .footer-bottom { flex-direction: column; align-items: center; gap: 1.5rem; padding-right: 0; }
  .about-info-footer { display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; text-align: left; }
  .footer-contact-items { flex-direction: row; gap: 3rem; margin-top: 10px; }
  .footer-bottom-bar { bottom: 25px; }
  .footer-bottom-container { flex-direction: column; justify-content: space-between; align-items: center; gap: 1.5rem; }
}
@media (max-width: 767px)  {
  .section.is-footer { height: 100vh; padding: 30px 15px; }
  .layout-footer { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 30px 4vw; margin-bottom: 0; }
  .footer-top { flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 0; text-align: left; }
  .footer-heading { margin-bottom: 0; font-size: 5vw; }
  .footer-p { max-width: 36ch; margin-top: 15px; font-size: 15px; line-height: 1.3; }
  .footer-bottom { flex-direction: column; justify-content: space-between; align-items: flex-start; flex: none; gap: 10px; padding-right: 1rem; }
  .about-img-wrap.footer { width: 52px; height: 52px; }
  .about-info-footer { padding-top: .1rem; }
  .about-me-txt.footer { font-size: 14px; }
  .about-me-txt.small.footer { font-size: 12px; }
  .footer-contact-items { position: relative; flex-direction: column; align-items: flex-start; gap: 0 20px; margin: 0; }
  .footer-bottom-bar { bottom: 15px; padding: 0 15px; }
  .footer-bottom-container { flex-direction: row; gap: .7rem 30px; }
  .footer-bottom-left, .footer-bottom-right { gap: 20px; }
  .smalltext.footer.ml-off, .smallsquare-smalltext.ml-off { display: none; }
  .smalltext-row.footer { flex-wrap: wrap; }
}
@media (max-width: 479px)  {
  .section.is-footer { padding-top: 60px; padding-bottom: 100px; }
  .layout-footer { flex-direction: column; align-items: center; gap: 40px; margin-bottom: 0; }
  .footer-top { align-items: center; gap: 0; text-align: center; }
  .footer-heading { margin-bottom: 10px; font-size: 10.8vw; }
  .footer-p { max-width: 100%; line-height: 1.4; }
  .footer-bottom { align-items: center; gap: 30px; padding-right: 0; }
  .about-me-footer { gap: .8rem; }
  .about-img-wrap.footer { width: 70px; height: 70px; }
  .about-me-txt.footer { font-size: 15px; }
  .about-me-txt.small.footer { font-size: 13px; }
  .footer-contact-items { align-items: center; gap: 0; }
  .footer-bottom-bar { left: 0; bottom: 20px; }
  .footer-bottom-container { flex-direction: column; align-items: center; gap: 15px; }
  .footer-bottom-left { justify-content: center; }
  .footer-bottom-right { gap: 30px; }
  .smalltext.footer.ml-off, .smallsquare-smalltext.ml-off { display: block; }
  .smalltext-row.footer { justify-content: center; align-items: center; gap: 10px; }
}

/* ---------------------------------------------------------------------
   Scroll-Reveal (Elemente mit data-reveal / data-split)
   --------------------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity .9s ease, transform 1s var(--ease-expo); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js .software-sidescroll-track[data-reveal] { transform: none; }   /* Laufband: nur Einblenden, Bewegung kommt aus der Animation */
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .28em 0 .12em; margin: -.28em 0 -.12em; }
.js [data-split] .w > span { display: inline-block; transform: translateY(140%); opacity: 0; transition: transform .9s var(--ease-expo), opacity .6s ease; transition-delay: var(--d, 0s); }
.js [data-split].is-visible .w > span { transform: none; opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
}

/* =====================================================================
   FEINSCHLIFF – dezente Farbakzente & Mikro-Interaktionen
   ▼ ANPASSEN: Intensität über die Opacity-Werte, Farben über --accent / --blue
   ===================================================================== */

/* Textauswahl */
::selection { background: rgba(175, 172, 255, .35); color: #fff; }

/* Feine Körnung über der ganzen Seite */
.grain {
  position: fixed; inset: -50%; z-index: 120; width: 200%; height: 200%;
  pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(1) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); }
  60% { transform: translate(-1%, 3%); } 80% { transform: translate(3%, 1%); } 100% { transform: translate(0, 0); }
}

/* Scroll-Fortschritt oben */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 102; width: 100%; height: 2px;
  transform-origin: left; transform: scaleX(0); pointer-events: none;
  background: linear-gradient(90deg, var(--blue), var(--accent));
}

/* Kapitel-Marker & Nummern in Akzentfarbe */
.home-feat-nr { color: var(--accent); }

/* Farbverlauf auf einzelnen Wörtern (per data-accent) */
.grad { background-image: linear-gradient(90deg, #fff 0%, var(--accent) 55%, #8f8bff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.is-footer .grad { background-image: linear-gradient(90deg, var(--darkgrey) 0%, var(--blue) 100%); }

/* Buttons: wie im Vorbild – Pille füllt sich, weitet sich seitlich, Quadrat bleibt unverändert */

/* Spotlight-Karten: Lichtfleck folgt der Maus */
.spot { position: relative; }
.spot::after {
  content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(440px circle at var(--mx, 50%) var(--my, 50%), rgba(175, 172, 255, .16), rgba(58, 51, 255, .05) 35%, transparent 62%);
  transition: opacity .4s ease;
}
.spot:hover::after { opacity: 1; }
.blue-light-service { opacity: .16; }

/* Tool-Kärtchen heben sich leicht */
.software-item-sidescroll { transition: transform .35s var(--ease-out); }
.software-item-sidescroll:hover { transform: translateY(-4px); }

/* Footer: Wasserzeichen & Farbschein */
.section.is-footer { overflow: hidden; }
.footer-glow { position: absolute; top: -22vw; right: -14vw; width: 62vw; height: 62vw; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(58, 51, 255, .13), transparent 64%); }
.footer-watermark { position: absolute; right: -2vw; bottom: 10vh; width: 28vw; max-width: 440px; opacity: .05; filter: invert(1); pointer-events: none; }
@media (max-width: 767px) { .footer-watermark { width: 60vw; bottom: 30vh; } .grain { display: none; } }

/* =====================================================================
   LEISTUNGEN – Illustrationen & Hover
   Die Inline-SVGs in index.html sind eigene Entwürfe in der Bildsprache des
   Vorbilds (2-px-Linien, weiße Anfasser, dunkler Cursor, Lila als Akzent).
   Hier stehen die Startzustände; die Zeitachsen liegen in js/main.js, Abschnitt 10.
   ▼ ANPASSEN: Lila über --blue / --accent, Stärke des Leuchtens über die Opacity-Werte
   ===================================================================== */

/* Karten: zarter Rahmen beim Hover, gestaffeltes Einblenden */
.js .service-item[data-reveal] { transition: opacity .9s ease, transform 1s var(--ease-expo), border-color .35s var(--ease-out); }
.js .service-item[data-reveal]:nth-child(2) { transition-delay: .08s, .08s, 0s; }
.js .service-item[data-reveal]:nth-child(3) { transition-delay: .16s, .16s, 0s; }
.service-item:hover { border-color: rgba(246, 248, 241, .12); }
.service-item.v2 { border-color: rgba(90, 84, 255, .2); }
.service-item.v2:hover { border-color: rgba(90, 84, 255, .55); }

/* Leuchten: in der Entwicklungs-Karte kräftig lila hinter den Ebenen */
.blue-light-service { transition: opacity .6s ease; }
.service-item:hover .blue-light-service { opacity: .28; }
.service-item.v2 .blue-light-service {
  left: auto; right: -230px; top: -220px; opacity: .34;
  background-image: radial-gradient(circle farthest-side at 50% 50%, var(--blue), rgba(58, 51, 255, 0));
}
.service-item.v2:hover .blue-light-service { opacity: .5; }
@media (max-width: 479px) { .service-item.v2 .blue-light-service { right: -90vw; top: -20vw; } }

/* Illustrationen */
.ill { display: block; width: 100%; height: auto; overflow: visible; }

/* Design (Startzustand): großer grauer Rahmen 150×128 (oben abgeschnitten), vier Anfasser, Cursor unten rechts; die
   Eckenform-Leiste (.dz-picker: weiße Pille mit drei Glyphen, lila Markierung) liegt unsichtbar unter dem Rahmen.
   Breite, Höhe und Eckenradius des Rahmens setzt js/main.js Bild für Bild (Attribute, läuft in allen Browsern). */
.dz-frame   { fill: rgba(58, 51, 255, 0); stroke: #414147; stroke-width: 2; }
.dz-handle  { fill: #fff; stroke: #13131a; stroke-width: 2; }
.dz-h-tl { transform: translate(40px, 24px); }
.dz-h-tr { transform: translate(190px, 24px); }
.dz-h-bl { transform: translate(40px, 152px); }
.dz-h-br { transform: translate(190px, 152px); }
.dz-picker  { opacity: 0; transform: translate(118px, 189px) scale(.96); }
.dz-pick-bg { fill: #fff; stroke: #13131a; stroke-width: 1; }
.dz-pick-hl { fill: var(--blue); opacity: 0; transform: translate(-24px, 0); }
.dz-pick    { fill: none; stroke: #414147; stroke-width: 2; }
.dz-cursor  { fill: #010105; stroke: #fff; stroke-width: 1; stroke-linejoin: round; transform: translate(152px, 186px) rotate(-30deg) translate(-7px, -7.4px); }

/* Entwicklung (Startzustand): kleine graue Grundfläche, die drei lila Ebenen liegen noch unsichtbar auf ihr */
.dv-ground polygon { fill: none; stroke: #414147; stroke-width: 2; stroke-linejoin: round; }
.dv-layer polygon  { fill: rgba(58, 51, 255, .1); stroke: var(--blue); stroke-width: 2; stroke-linejoin: round; }
.dv-layer-3 polygon { fill: rgba(58, 51, 255, .16); }
.dv-ground { transform: translate(104px, 128px) scale(.7); }
.dv-layer  { transform: translate(104px, 128px); opacity: 0; }

/* Gründe-Liste „Entwicklung“: schlichte farbige Icons (Lila-Verlauf); beim Einscrollen weich einblenden, beim Hover leicht heben */
.usp-icon-wrap { width: 6%; min-width: 3.4rem; }
.usp-icon {
  display: block; width: 2.6rem; height: 2.6rem; max-width: none; overflow: visible;
  filter: drop-shadow(0 0 10px rgba(58, 51, 255, .3));
  transition: transform .7s var(--ease-expo), filter .5s ease, opacity .7s ease;
}
.js .usp-item[data-reveal] .usp-icon { opacity: 0; transform: translateY(8px); transition-delay: .1s; }
.js .usp-item[data-reveal].is-visible .usp-icon { opacity: 1; transform: none; }
.usp-item:hover .usp-icon { transform: translateY(-3px) scale(1.06); filter: drop-shadow(0 0 16px rgba(58, 51, 255, .65)); transition-delay: 0s; }
.ic-needle { transform-box: view-box; transform-origin: 12px 15px; transition: transform .8s var(--ease-expo); }
.ic-fill   { transform-box: fill-box; transform-origin: center; transition: transform .8s var(--ease-expo); }
.ic-zap    { transition: fill-opacity .5s ease; }
.ic-arrow  { transition: transform .7s var(--ease-expo); }
.usp-item:hover .ic-needle { transform: rotate(30deg); }
.usp-item:hover .ic-fill   { transform: rotate(90deg); }
.usp-item:hover .ic-zap    { fill-opacity: .6; }
.usp-item:hover .ic-arrow  { transform: translate(1px, -1px); }
.usp-bg {
  background-image: radial-gradient(560px circle at 6% 50%, rgba(58, 51, 255, .22), transparent 62%);
  box-shadow: inset 0 0 0 1px rgba(90, 84, 255, 0);
  transition: opacity .3s var(--ease-out), transform .4s var(--ease-expo), box-shadow .4s ease;
}
.usp-item:hover .usp-bg { box-shadow: inset 0 0 0 1px rgba(90, 84, 255, .35); }
@media (max-width: 991px) { .usp-icon-wrap { width: 8%; } }
@media (max-width: 767px) { .usp-icon-wrap { min-width: 2.6rem; } .usp-icon { width: 2rem; height: 2rem; } }
@media (max-width: 479px) { .usp-icon-wrap { width: 100%; } .usp-icon { width: 2.3rem; height: 2.3rem; } }

/* =====================================================================
   RECHTLICHES – impressum.html
   ▼ ANPASSEN: Inhalte direkt in impressum.html
   ===================================================================== */
.pagecontent.is-legal { min-height: 100svh; }          /* verdeckt den fixierten Footer, bis gescrollt wird */
.section.legal { padding-top: 150px; padding-bottom: 120px; }
.container.legal { max-width: 1000px; }
.legal-kicker { margin: 0; font-size: 1rem; font-weight: 600; line-height: 1; letter-spacing: 1px; text-transform: uppercase; color: var(--offwhite-80); }
.legal-heading { margin: 0 0 3.5rem; font-size: 4.5rem; line-height: .9; }
.legal-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem 3rem; margin-bottom: 3.5rem; padding-bottom: 3.5rem; border-bottom: 1px solid var(--offwhite-10); }
.legal-block { max-width: 72ch; }
.legal-block + .legal-block { margin-top: 2.6rem; }
.legal-facts .legal-block + .legal-block { margin-top: 0; }
.legal-h { margin: 0 0 .9rem; font-family: var(--font-body); font-stretch: normal; font-size: .8rem; font-weight: 600; line-height: 1.3; letter-spacing: 1px; text-transform: uppercase; color: var(--offwhite-50); }
.legal-p { margin: 0; font-size: 1.05rem; font-weight: 500; line-height: 1.55; color: var(--offwhite-80); text-wrap: pretty; }
.legal-p + .legal-p { margin-top: 1em; }
address.legal-p { font-style: normal; }
.legal-p a { color: var(--offwhite); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; text-decoration-color: var(--offwhite-50); transition: text-decoration-color .2s var(--ease-out); }
.legal-p a:hover { text-decoration-color: var(--offwhite); }
.legal-stand { margin-top: 3.5rem; font-size: .85rem; color: var(--offwhite-50); }
@media (min-width: 1920px) { .legal-heading { font-size: 5rem; } .legal-p { font-size: 1.15rem; } }
@media (max-width: 991px) { .section.legal { padding-top: 130px; } .legal-heading { font-size: 3.6rem; } .legal-facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) {
  .section.legal { padding-top: 100px; padding-bottom: 80px; }
  .legal-heading { margin-bottom: 2.5rem; font-size: 2.8rem; }
  .legal-facts { grid-template-columns: 1fr; gap: 2rem; margin-bottom: 2.5rem; padding-bottom: 2.5rem; }
  .legal-block + .legal-block { margin-top: 2rem; }
  .legal-p { font-size: 1rem; }
}
@media (max-width: 479px) { .legal-heading { font-size: 11vw; } }
