:root {
  --bg: #ffffff;
  --bg-elevated: #f4f6f8;
  --surface: #ffffff;
  --text: #0c0e12;
  --text-muted: #4a5160;
  --brand-red: #e10600;
  --brand-red-deep: #b80500;
  --brand-green: #1faa4a;
  --brand-green-deep: #168a3a;
  --brand-blue: #2b8cff;
  --brand-blue-deep: #1a5fd4;
  --brand-orange: #f97316;
  --brand-orange-deep: #c2410c;
  --glow-warm: #ff5a2a;
  --glow-cool: #2ec7ff;
  --hero-bg: #050608;
  --light-bg: #ffffff;
  --light-bg-soft: #f4f6f8;
  --light-text: #0c0e12;
  --light-text-muted: #4a5160;
  --light-border: rgba(12, 14, 18, 0.12);
  --header-h: 64px;
  --radius-pill: 999px;
  --font-display: "Orbitron", "Arial Narrow", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--light-text);
  background: var(--light-bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

html[lang="ar"] body,
body.is-rtl {
  font-family: "Noto Sans Arabic", var(--font-body);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

/* Header – white bar like reference */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  color: #121212;
  border-bottom: 1px solid #ececec;
  overflow: visible;
  /* Eigene Layer – verhindert weiße Sticky-Lücken mit Hero-3D */
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.site-header.is-mega-open {
  box-shadow: none;
}

.header-inner {
  max-width: var(--max);
  height: var(--header-h);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  z-index: 2;
}

.logo-mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.08em;
  font-size: 1.55rem;
  color: var(--brand-red);
  text-shadow:
    1px 1px 0 #7a0000,
    2px 2px 0 rgba(0, 0, 0, 0.15);
  transform: skewX(-8deg);
  display: inline-block;
}

.logo-mark--sm {
  font-size: 1.15rem;
}

.nav {
  display: none;
  align-items: center;
  gap: 1.4rem;
}

.nav-item {
  display: flex;
  align-items: center;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: #222;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0.35rem 0;
  font-family: inherit;
  min-height: 40px;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.1rem;
  width: 100%;
  height: 2px;
  background: var(--brand-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.is-active::after,
.nav-trigger[aria-expanded="true"]::after {
  transform: scaleX(1);
}

.nav-link.is-active,
.nav-link[aria-current="true"] {
  color: var(--brand-red);
}

.nav-link.is-active[data-nav-theme="order"],
.nav-link[aria-current="true"][data-nav-theme="order"],
body.is-order-active .nav-link[data-nav-theme="order"].is-active {
  color: var(--brand-green);
}

.nav-link.is-active[data-nav-theme="order"]::after,
.nav-link[aria-current="true"][data-nav-theme="order"]::after {
  background: var(--brand-green);
}

.nav-link.is-active[data-nav-theme="software"],
.nav-link[aria-current="true"][data-nav-theme="software"],
body.is-software-it-active .nav-link[data-nav-theme="software"].is-active {
  color: var(--brand-blue);
}

.nav-link.is-active[data-nav-theme="software"]::after,
.nav-link[aria-current="true"][data-nav-theme="software"]::after {
  background: var(--brand-blue);
}

.nav-link.is-active[data-nav-theme="process"],
.nav-link[aria-current="true"][data-nav-theme="process"],
body.is-process-active .nav-link[data-nav-theme="process"].is-active {
  color: var(--brand-orange);
}

.nav-link.is-active[data-nav-theme="process"]::after,
.nav-link[aria-current="true"][data-nav-theme="process"]::after {
  background: var(--brand-orange);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--brand-red);
}

.nav-link[data-nav-theme="order"]:hover,
.nav-link[data-nav-theme="order"]:focus-visible {
  color: var(--brand-green);
}

.nav-link[data-nav-theme="software"]:hover,
.nav-link[data-nav-theme="software"]:focus-visible {
  color: var(--brand-blue);
}

.nav-link[data-nav-theme="process"]:hover,
.nav-link[data-nav-theme="process"]:focus-visible {
  color: var(--brand-orange);
}

.nav-chevron {
  transition: transform 0.25s var(--ease);
}

.nav-trigger[aria-expanded="true"] .nav-chevron {
  transform: rotate(180deg);
}

/* Mega menu – nur sichtbar wenn geöffnet; alle Bereiche ohne Scroll */
.mega-panel {
  display: none !important;
  position: fixed;
  left: 0;
  right: 0;
  top: var(--header-h);
  width: 100%;
  background: #fff;
  color: #121212;
  border-top: 1px solid #ececec;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.14);
  z-index: 1200;
  max-height: none;
  height: auto;
  overflow: visible;
  isolation: isolate;
  transform: translateZ(0);
}

.mega-panel:not([hidden]) {
  display: block !important;
}

/* Hero-3D-Layer nicht über dem Mega-Menü zeichnen */
body.is-mega-open .hero-flythrough,
body.is-mega-open .hero-fly-bits,
body.is-mega-open .fly-bit,
body.is-mega-open .hero-typewriter {
  visibility: hidden !important;
  opacity: 0 !important;
  animation-play-state: paused !important;
  pointer-events: none !important;
}

.mega-inner {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 1.75rem;
  display: grid;
  gap: 1.5rem;
  background: #fff;
  color: #121212;
  box-sizing: border-box;
}

/* Alle Dienstleistungsbereiche gleichzeitig sichtbar */
.mega-inner--overview {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem 1.75rem;
  padding: 1.35rem 1.25rem 1.5rem;
  align-items: start;
}

.mega-inner--overview .mega-col h3 {
  margin: 0 0 0.55rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid #ececec;
}

.mega-inner--overview .mega-col h3 a {
  color: #111 !important;
  font-weight: 800;
  font-size: 1rem;
  padding: 0;
}

.mega-inner--overview .mega-col h3 a:hover {
  color: var(--brand-red) !important;
}

.mega-side--compact {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.85rem;
  align-items: center;
  padding-top: 0.35rem;
  border-top: 1px solid #ececec;
}

.mega-quick {
  display: inline-flex;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand-red) !important;
  text-decoration: none;
  padding: 0.35rem 0;
}

.mega-quick:hover {
  text-decoration: underline;
}

.mega-cats {
  display: grid;
  gap: 0.25rem;
  align-content: start;
  background: #fff;
}

.mega-cat {
  display: block;
  text-align: start;
  border: 0;
  background: transparent;
  color: #222 !important;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}

.mega-cat:hover,
.mega-cat.is-active {
  background: #f3f3f3;
  color: #111 !important;
}

.mega-viewby {
  margin-top: 1rem;
  padding: 1rem;
  border-top: 1px solid #ececec;
  background: #fff;
}

.mega-viewby p {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #777;
}

.mega-viewby-links {
  display: grid;
  gap: 0.45rem;
}

.mega-viewby-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: #333 !important;
}

.mega-viewby-links a:hover {
  color: var(--brand-red) !important;
}

.mega-content {
  min-height: 180px;
  background: #fff;
  color: #121212;
}

.mega-panel-body[hidden] {
  display: none !important;
}

.mega-panel-body.is-active {
  display: block;
}

.mega-col {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.mega-col h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 800;
  color: #111;
}

.mega-col a {
  font-size: 0.95rem;
  font-weight: 500;
  color: #333 !important;
  padding: 0.2rem 0;
}

.mega-col a:hover {
  color: var(--brand-red) !important;
}

.mega-feature {
  border: 1px solid #ececec;
  border-radius: 12px;
  padding: 0.85rem;
  background: #fafafa;
  color: #121212;
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

.mega-feature-media {
  position: relative;
  display: grid;
  place-items: center;
  height: 140px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(225, 6, 0, 0.55), rgba(46, 199, 255, 0.4)),
    radial-gradient(circle at 28% 30%, rgba(255, 255, 255, 0.55) 0%, transparent 42%),
    linear-gradient(160deg, #f4f6f8, #e8ecf1);
  border: 1px solid #ececec;
  overflow: hidden;
}

.mega-feature-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.1em;
  font-size: clamp(2.75rem, 4.5vw, 3.6rem);
  line-height: 1;
  color: var(--brand-red);
  text-shadow:
    2px 2px 0 #7a0000,
    3px 3px 0 rgba(0, 0, 0, 0.18),
    0 0 28px rgba(255, 255, 255, 0.55);
  transform: skewX(-8deg);
  pointer-events: none;
  user-select: none;
}

/* Fallback, falls altes HTML ohne Logo-Span noch gecacht ist */
.mega-feature-media:empty::after {
  content: "ACL";
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.1em;
  font-size: clamp(2.75rem, 4.5vw, 3.6rem);
  line-height: 1;
  color: var(--brand-red);
  text-shadow:
    2px 2px 0 #7a0000,
    3px 3px 0 rgba(0, 0, 0, 0.18),
    0 0 28px rgba(255, 255, 255, 0.55);
  transform: skewX(-8deg);
}

.mega-feature h3 {
  margin: 0.25rem 0 0;
  font-size: 1rem;
  color: #111;
}

.mega-feature p {
  margin: 0;
  font-size: 0.88rem;
  color: #555;
  line-height: 1.45;
}

.mega-feature-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-red) !important;
  margin-top: 0.15rem;
}

.mega-backdrop {
  position: fixed;
  inset: 0;
  top: var(--header-h);
  background: rgba(12, 14, 18, 0.45);
  z-index: 1190;
  isolation: isolate;
}

.mega-backdrop[hidden] {
  display: none !important;
}

.mega-side {
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

.mega-feature--care {
  background: #fff8f7;
  border-color: rgba(225, 6, 0, 0.18);
}

.mega-feature-media--care {
  background:
    linear-gradient(135deg, rgba(46, 199, 255, 0.45), rgba(225, 6, 0, 0.4)),
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.55) 0%, transparent 42%),
    linear-gradient(160deg, #eef3f8, #e4e9ef);
}

@media (min-width: 900px) {
  .mega-inner:not(.mega-inner--overview) {
    grid-template-columns: 240px minmax(0, 1fr) 260px;
    gap: 2rem;
    padding: 1.75rem 1.25rem 2rem;
    align-items: start;
  }

  .mega-inner--overview {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem 2rem;
    padding: 1.5rem 1.25rem 1.6rem;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.icon-btn,
.lang-btn,
.menu-toggle {
  border: 0;
  background: transparent;
  cursor: pointer;
  color: #222;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.35rem;
  border-radius: 8px;
}

.icon-btn:hover,
.lang-btn:hover,
.menu-toggle:hover {
  background: #f2f2f2;
}

.lang-switcher {
  position: relative;
}

.lang-btn {
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  padding-inline: 0.5rem;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  inset-inline-end: 0;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  min-width: 10.5rem;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
  z-index: 120;
}

.lang-menu[hidden] {
  display: none;
}

.lang-menu li {
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #222;
  cursor: pointer;
}

.lang-menu li:hover,
.lang-menu li:focus-visible {
  background: #f3f3f3;
  outline: none;
}

.lang-menu li.is-active {
  color: var(--brand-red);
  background: rgba(225, 6, 0, 0.06);
}

.menu-toggle {
  flex-direction: column;
  gap: 4px;
  width: 40px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #222;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (min-width: 900px) {
  .nav {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }
}

@media (max-width: 899px) {
  .nav.is-open {
    display: flex !important;
    position: fixed !important;
    top: var(--header-h) !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: calc(100dvh - var(--header-h)) !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    background: #fff !important;
    border-bottom: 0 !important;
    padding: 0.15rem 0 max(0.75rem, env(safe-area-inset-bottom, 0px)) !important;
    box-shadow: none !important;
    z-index: 2990 !important;
    overflow: hidden !important;
  }

  .nav.is-open .nav-link {
    padding: 0.72rem 1.15rem !important;
    width: 100% !important;
    justify-content: space-between !important;
    min-height: 0 !important;
    border-bottom: 1px solid #f0f0f0;
  }

  .nav.is-open .nav-link::after {
    display: none;
  }

  .mega-backdrop {
    display: none !important;
  }
}

/* Hero */
.hero {
  position: relative;
  z-index: 0;
  /* Eigene volle Seite – direkt davor: Header, danach: Dienstleistungen */
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
  display: grid;
  align-items: center;
  overflow: hidden;
  /* Solide Farbe zuerst – kein Weißblitzen wenn Gradients/GPU stocken */
  background-color: var(--hero-bg);
  background-image:
    radial-gradient(ellipse 70% 55% at 75% 45%, rgba(46, 199, 255, 0.1), transparent 60%),
    radial-gradient(ellipse 55% 50% at 20% 70%, rgba(255, 90, 42, 0.12), transparent 55%),
    radial-gradient(circle at 50% 0%, #10141c 0%, var(--hero-bg) 58%);
  color: #f4f6fa;
  isolation: isolate;
  margin: 0;
}

.hero .hero-left,
.hero .hero-copy,
.hero .hero-copy h1,
.hero .hero-sub,
.hero .hero-cta {
  color: #f4f6fa;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    radial-gradient(rgba(255, 255, 255, 0.09) 0.7px, transparent 0.7px);
  background-size: 64px 64px, 64px 64px, 3px 3px;
  opacity: 0.28;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 85% 75% at 55% 45%, #000 15%, transparent 78%);
  z-index: 0;
}

/* Durchflug-Hintergrund – goldener Code + Punkte dazwischen */
.hero-flythrough {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  perspective: 1200px;
  perspective-origin: 50% 48%;
  isolation: isolate;
}

.hero-fly-stars {
  position: absolute;
  inset: -10%;
  background-image:
    radial-gradient(1px 1px at 12% 22%, rgba(255, 215, 0, 0.75), transparent),
    radial-gradient(1px 1px at 28% 68%, rgba(255, 244, 168, 0.45), transparent),
    radial-gradient(1.4px 1.4px at 44% 18%, rgba(255, 215, 0, 0.7), transparent),
    radial-gradient(1px 1px at 61% 74%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1.2px 1.2px at 78% 30%, rgba(255, 200, 50, 0.65), transparent),
    radial-gradient(1px 1px at 88% 58%, rgba(255, 244, 168, 0.35), transparent),
    radial-gradient(1px 1px at 18% 42%, rgba(255, 215, 0, 0.55), transparent),
    radial-gradient(1.3px 1.3px at 52% 48%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 70% 12%, rgba(255, 215, 0, 0.6), transparent),
    radial-gradient(1px 1px at 35% 88%, rgba(255, 200, 50, 0.5), transparent);
  animation: starDrift 28s linear infinite;
  opacity: 0.75;
}

.hero-fly-haze {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 45% 50% at 50% 45%, rgba(255, 215, 0, 0.12), transparent 70%),
    radial-gradient(ellipse 35% 40% at 30% 70%, rgba(225, 6, 0, 0.1), transparent 65%);
  animation: hazePulse 10s ease-in-out infinite;
}

.hero-fly-bits {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  perspective: inherit;
}

.fly-bit {
  --cycle: 14s;
  --x: 50%;
  --y: 50%;
  --rot: 0deg;
  --scale: 1;
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate3d(-50%, -50%, -1900px) scale(calc(0.3 * var(--scale))) rotate(var(--rot));
  opacity: 0;
  animation: flyBits var(--cycle) linear infinite;
  animation-delay: var(--delay, 0s);
  pointer-events: none;
  backface-visibility: hidden;
}

.fly-bit--text {
  font-family: "Consolas", "Courier New", ui-monospace, monospace;
  font-weight: 700;
  font-size: clamp(0.72rem, 1.5vw, 1.2rem);
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: #ffd700;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
  text-shadow:
    0 0 0.5px #fff4a8,
    0 0 1px #ffe566,
    0 1px 0 #b8860b,
    0 0 6px rgba(255, 215, 0, 0.45);
  filter: contrast(1.15) saturate(1.25);
  transition: color 0.45s var(--ease), text-shadow 0.45s var(--ease), filter 0.45s var(--ease);
}

.fly-bit--dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, #fffceb 0%, #ffe566 28%, #ffd700 55%, #c9a227 78%, transparent 100%);
  box-shadow:
    0 0 4px 1px rgba(255, 215, 0, 0.95),
    0 0 12px 3px rgba(255, 200, 40, 0.55),
    0 0 22px 6px rgba(184, 134, 11, 0.28);
  transition: background 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

/* Über uns aktiv: Code & Punkte rot (wie agent-ally) */
body.is-about-active .fly-bit--text,
body.page-about .fly-bit--text {
  color: #ff2a2a;
  text-shadow:
    0 0 0.5px #ffc9c9,
    0 0 1px #ff6b6b,
    0 1px 0 #8b0000,
    0 0 8px rgba(225, 6, 0, 0.65),
    0 0 18px rgba(255, 90, 42, 0.4);
  filter: contrast(1.1) saturate(1.25);
}

body.is-about-active .fly-bit--dot,
body.page-about .fly-bit--dot {
  background:
    radial-gradient(circle at 32% 28%, #ffe8e8 0%, #ff6b6b 28%, #e10600 55%, #8b0000 78%, transparent 100%);
  box-shadow:
    0 0 4px 1px rgba(225, 6, 0, 0.95),
    0 0 12px 3px rgba(255, 60, 40, 0.6),
    0 0 22px 6px rgba(180, 0, 0, 0.35);
}

body.is-about-active .hero-fly-stars,
body.page-about .hero-fly-stars {
  background-image:
    radial-gradient(1px 1px at 12% 22%, rgba(255, 80, 60, 0.85), transparent),
    radial-gradient(1px 1px at 28% 68%, rgba(255, 180, 160, 0.5), transparent),
    radial-gradient(1.4px 1.4px at 44% 18%, rgba(225, 6, 0, 0.8), transparent),
    radial-gradient(1px 1px at 61% 74%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1.2px 1.2px at 78% 30%, rgba(255, 90, 42, 0.7), transparent),
    radial-gradient(1px 1px at 88% 58%, rgba(255, 160, 140, 0.4), transparent),
    radial-gradient(1px 1px at 18% 42%, rgba(225, 6, 0, 0.65), transparent),
    radial-gradient(1.3px 1.3px at 52% 48%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 70% 12%, rgba(255, 70, 50, 0.7), transparent),
    radial-gradient(1px 1px at 35% 88%, rgba(255, 90, 42, 0.55), transparent);
}

body.is-about-active .hero-fly-haze,
body.page-about .hero-fly-haze {
  background:
    radial-gradient(ellipse 45% 50% at 50% 45%, rgba(225, 6, 0, 0.2), transparent 70%),
    radial-gradient(ellipse 35% 40% at 30% 70%, rgba(255, 90, 42, 0.16), transparent 65%);
}

/* Auftrag aktiv: Code & Punkte grün */
body.is-order-active .fly-bit--text {
  color: #2ecc71;
  text-shadow:
    0 0 0.5px #c8f7d8,
    0 0 1px #7ddea0,
    0 1px 0 #0f5c2e,
    0 0 8px rgba(31, 170, 74, 0.65),
    0 0 18px rgba(46, 204, 113, 0.4);
  filter: contrast(1.1) saturate(1.25);
}

body.is-order-active .fly-bit--dot {
  background:
    radial-gradient(circle at 32% 28%, #e8fff0 0%, #7ddea0 28%, #1faa4a 55%, #0f5c2e 78%, transparent 100%);
  box-shadow:
    0 0 4px 1px rgba(31, 170, 74, 0.95),
    0 0 12px 3px rgba(46, 204, 113, 0.55),
    0 0 22px 6px rgba(15, 92, 46, 0.3);
}

body.is-order-active .hero-fly-stars {
  background-image:
    radial-gradient(1px 1px at 12% 22%, rgba(46, 204, 113, 0.85), transparent),
    radial-gradient(1px 1px at 28% 68%, rgba(160, 230, 180, 0.5), transparent),
    radial-gradient(1.4px 1.4px at 44% 18%, rgba(31, 170, 74, 0.8), transparent),
    radial-gradient(1px 1px at 61% 74%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1.2px 1.2px at 78% 30%, rgba(46, 204, 113, 0.7), transparent),
    radial-gradient(1px 1px at 88% 58%, rgba(160, 230, 180, 0.4), transparent),
    radial-gradient(1px 1px at 18% 42%, rgba(31, 170, 74, 0.65), transparent),
    radial-gradient(1.3px 1.3px at 52% 48%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 70% 12%, rgba(46, 204, 113, 0.7), transparent),
    radial-gradient(1px 1px at 35% 88%, rgba(31, 170, 74, 0.55), transparent);
}

body.is-order-active .hero-fly-haze {
  background:
    radial-gradient(ellipse 45% 50% at 50% 45%, rgba(31, 170, 74, 0.2), transparent 70%),
    radial-gradient(ellipse 35% 40% at 30% 70%, rgba(46, 204, 113, 0.14), transparent 65%);
}

/* Software IT & Websites: Code & Punkte blau */
body.is-software-it-active .fly-bit--text,
body.page-software-it .fly-bit--text {
  color: #4db3ff;
  text-shadow:
    0 0 0.5px #d6eeff,
    0 0 1px #7cc8ff,
    0 1px 0 #0b4f9c,
    0 0 8px rgba(43, 140, 255, 0.65),
    0 0 18px rgba(46, 199, 255, 0.4);
  filter: contrast(1.1) saturate(1.25);
}

body.is-software-it-active .fly-bit--dot,
body.page-software-it .fly-bit--dot {
  background:
    radial-gradient(circle at 32% 28%, #eaf6ff 0%, #7cc8ff 28%, #2b8cff 55%, #0b4f9c 78%, transparent 100%);
  box-shadow:
    0 0 4px 1px rgba(43, 140, 255, 0.95),
    0 0 12px 3px rgba(46, 199, 255, 0.55),
    0 0 22px 6px rgba(11, 79, 156, 0.32);
}

body.is-software-it-active .hero-fly-stars,
body.page-software-it .hero-fly-stars {
  background-image:
    radial-gradient(1px 1px at 12% 22%, rgba(46, 199, 255, 0.85), transparent),
    radial-gradient(1px 1px at 28% 68%, rgba(160, 210, 255, 0.5), transparent),
    radial-gradient(1.4px 1.4px at 44% 18%, rgba(43, 140, 255, 0.8), transparent),
    radial-gradient(1px 1px at 61% 74%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1.2px 1.2px at 78% 30%, rgba(46, 199, 255, 0.7), transparent),
    radial-gradient(1px 1px at 88% 58%, rgba(160, 210, 255, 0.4), transparent),
    radial-gradient(1px 1px at 18% 42%, rgba(43, 140, 255, 0.65), transparent),
    radial-gradient(1.3px 1.3px at 52% 48%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 70% 12%, rgba(46, 199, 255, 0.7), transparent),
    radial-gradient(1px 1px at 35% 88%, rgba(43, 140, 255, 0.55), transparent);
}

body.is-software-it-active .hero-fly-haze,
body.page-software-it .hero-fly-haze {
  background:
    radial-gradient(ellipse 45% 50% at 50% 45%, rgba(43, 140, 255, 0.22), transparent 70%),
    radial-gradient(ellipse 35% 40% at 30% 70%, rgba(46, 199, 255, 0.16), transparent 65%);
}

/* Projektablauf: Code & Punkte orange */
body.is-process-active .fly-bit--text,
body.page-process .fly-bit--text {
  color: #ff9a3d;
  text-shadow:
    0 0 0.5px #ffe4c4,
    0 0 1px #ffb86b,
    0 1px 0 #9a3412,
    0 0 8px rgba(249, 115, 22, 0.65),
    0 0 18px rgba(255, 154, 61, 0.4);
  filter: contrast(1.1) saturate(1.25);
}

body.is-process-active .fly-bit--dot,
body.page-process .fly-bit--dot {
  background:
    radial-gradient(circle at 32% 28%, #fff4e8 0%, #ffb86b 28%, #f97316 55%, #9a3412 78%, transparent 100%);
  box-shadow:
    0 0 4px 1px rgba(249, 115, 22, 0.95),
    0 0 12px 3px rgba(255, 154, 61, 0.55),
    0 0 22px 6px rgba(154, 52, 18, 0.32);
}

body.is-process-active .hero-fly-stars,
body.page-process .hero-fly-stars {
  background-image:
    radial-gradient(1px 1px at 12% 22%, rgba(255, 154, 61, 0.85), transparent),
    radial-gradient(1px 1px at 28% 68%, rgba(255, 200, 150, 0.5), transparent),
    radial-gradient(1.4px 1.4px at 44% 18%, rgba(249, 115, 22, 0.8), transparent),
    radial-gradient(1px 1px at 61% 74%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1.2px 1.2px at 78% 30%, rgba(255, 154, 61, 0.7), transparent),
    radial-gradient(1px 1px at 88% 58%, rgba(255, 200, 150, 0.4), transparent),
    radial-gradient(1px 1px at 18% 42%, rgba(249, 115, 22, 0.65), transparent),
    radial-gradient(1.3px 1.3px at 52% 48%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 70% 12%, rgba(255, 154, 61, 0.7), transparent),
    radial-gradient(1px 1px at 35% 88%, rgba(249, 115, 22, 0.55), transparent);
}

body.is-process-active .hero-fly-haze,
body.page-process .hero-fly-haze {
  background:
    radial-gradient(ellipse 45% 50% at 50% 45%, rgba(249, 115, 22, 0.22), transparent 70%),
    radial-gradient(ellipse 35% 40% at 30% 70%, rgba(255, 154, 61, 0.16), transparent 65%);
}

/* Tippeffekt */
.hero-typewriter {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  pointer-events: none;
  padding: 1.25rem;
  text-align: center;
}

.hero-typewriter-line {
  margin: 0;
  max-width: min(96vw, 42rem);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-typewriter-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 4.2vw, 3.2rem);
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: #ffffff;
  white-space: nowrap;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
  text-shadow:
    0 0 1px rgba(255, 255, 255, 0.85),
    0 2px 12px rgba(0, 0, 0, 0.7),
    0 0 24px rgba(0, 0, 0, 0.4);
}

.hero-typewriter-caret {
  display: inline-block;
  width: 0.08em;
  height: 0.95em;
  margin-left: 0.12em;
  vertical-align: -0.05em;
  background: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  animation: typeCaret 0.9s steps(1) infinite;
  font-size: clamp(1.15rem, 4.2vw, 3.2rem);
}

.hero-about-title {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: none;
  place-items: center;
  pointer-events: none;
  padding: 1.25rem;
  text-align: center;
}

.hero-about-title h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 8vw, 5.5rem);
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: #ffffff;
  text-shadow:
    0 0 1px rgba(255, 255, 255, 0.85),
    0 4px 24px rgba(0, 0, 0, 0.75),
    0 0 40px rgba(0, 0, 0, 0.45);
}

body.is-about-active .hero-typewriter,
body.is-order-active .hero-typewriter {
  display: none !important;
}

body.is-about-active .hero-about-title:not([hidden]),
body.is-order-active .hero-about-title:not([hidden]) {
  display: grid;
}

body.is-about-active .hero-about-title[hidden],
body.is-order-active .hero-about-title[hidden] {
  display: none !important;
}

@keyframes typeCaret {
  0%,
  45% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

@keyframes flyBits {
  0% {
    transform: translate3d(-50%, -50%, -2100px) scale(calc(0.2 * var(--scale))) rotate(var(--rot));
    opacity: 0;
  }
  8% {
    opacity: 0.45;
  }
  45% {
    opacity: 0.95;
  }
  78% {
    opacity: 0.55;
  }
  100% {
    transform: translate3d(-50%, -50%, 420px) scale(calc(1.35 * var(--scale))) rotate(calc(var(--rot) * 1.2));
    opacity: 0;
  }
}

@keyframes starDrift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-2%, 3%, 0) scale(1.06);
  }
}

@keyframes hazePulse {
  0%,
  100% {
    opacity: 0.75;
  }
  50% {
    opacity: 1;
  }
}

@media (max-width: 959px) {
  .hero-flythrough {
    perspective-origin: 50% 45%;
  }

  .fly-bit--text {
    font-size: clamp(0.65rem, 3.2vw, 0.95rem);
  }

  .fly-bit--dot {
    width: 4px;
    height: 4px;
  }

  .hero-typewriter-text,
  .hero-typewriter-caret {
    font-size: clamp(0.95rem, 4.6vw, 2.1rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-fly-stars,
  .hero-fly-haze,
  .fly-bit,
  .hero-typewriter-caret {
    animation: none !important;
  }

  .hero-fly-bits {
    display: none;
  }

  .hero-typewriter-caret {
    opacity: 1;
  }
}

.hero-shell {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1.5rem;
  align-items: center;
  min-height: calc(100vh - var(--header-h) - 3rem);
  min-height: calc(100dvh - var(--header-h) - 3rem);
  padding: 2.5rem 0 4.5rem;
  isolation: isolate;
  transform: translateZ(0);
}

/* Extra-Seite: Text links, Grafik rechts */
.hero-text-page {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 75% 45%, rgba(46, 199, 255, 0.1), transparent 60%),
    radial-gradient(ellipse 55% 50% at 20% 70%, rgba(255, 90, 42, 0.12), transparent 55%),
    radial-gradient(circle at 50% 0%, #10141c 0%, var(--hero-bg) 58%);
  color: #f4f6fa;
  scroll-margin-top: var(--header-h);
}

.hero-text-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    radial-gradient(rgba(255, 255, 255, 0.09) 0.7px, transparent 0.7px);
  background-size: 64px 64px, 64px 64px, 3px 3px;
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}

.hero-shell--split {
  grid-template-columns: 1fr;
  z-index: 2;
}

@media (min-width: 900px) {
  .hero-shell--split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 2rem 3rem;
    align-items: center;
  }

  .hero-shell--split .hero-full {
    justify-self: end;
  }
}

.hero-text-page .hero-copy h1,
.hero-text-page .hero-sub {
  color: #fff;
}

.hero-text-page .btn-ghost {
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff;
}

.hero-text-page .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hero-text-page .hero-dots {
  z-index: 3;
}

.hero-text-page .scroll-hint {
  z-index: 3;
}

.hero-left {
  position: relative;
  z-index: 5;
  min-width: 0;
}

.hero-left > .brand-signal {
  position: relative;
  z-index: 6;
  margin: 0 0 0.75rem;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

.hero-copy[data-hero-live] {
  position: relative;
  z-index: 5;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

.hero-slides-source {
  display: none !important;
}

.hero-copy {
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

/* Voller Hero rechts: genau ein Frame per display – kein Opacity */
.hero-full {
  position: relative;
  z-index: 4;
  display: grid;
  place-items: center;
  min-height: 280px;
  justify-self: center;
  width: 100%;
  isolation: isolate;
  transform: translateZ(0);
}

.hero-full .glow-frame {
  grid-area: 1 / 1;
  width: min(100%, 460px);
  display: none;
  pointer-events: none;
}

.hero-full .glow-frame.is-base {
  display: grid !important;
  place-items: center;
  opacity: 1 !important;
  visibility: visible !important;
}

.hero-full:not(:has(.glow-frame.is-base)) .glow-frame:first-child {
  display: grid !important;
  place-items: center;
}

.hero-full .glow-svg {
  filter: drop-shadow(0 0 16px rgba(255, 90, 42, 0.28)) drop-shadow(0 0 18px rgba(46, 199, 255, 0.2));
}

.brand-signal {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--brand-red);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  transform: skewX(-8deg);
  text-shadow:
    0 0 24px rgba(225, 6, 0, 0.45),
    2px 2px 0 rgba(0, 0, 0, 0.35);
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.35rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 18ch;
  color: #ffffff;
}

.hero-sub {
  margin: 1rem 0 0;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(244, 246, 250, 0.92);
  max-width: 38ch;
  font-weight: 500;
}

.hero-sub--more {
  margin-top: 0.65rem;
  font-size: clamp(0.95rem, 1.8vw, 1.08rem);
  color: rgba(244, 246, 250, 0.78);
  max-width: 42ch;
  font-weight: 500;
}

.hero-sub--more[hidden] {
  display: none !important;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--brand-red);
  color: #fff;
  box-shadow: 0 8px 28px rgba(225, 6, 0, 0.35);
}

.btn-primary:hover {
  background: var(--brand-red-deep);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(12, 14, 18, 0.35);
  color: var(--light-text);
}

.btn-ghost:hover {
  background: rgba(12, 14, 18, 0.05);
}

.hero .btn-ghost,
.sp-hero .btn-ghost {
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff;
}

.hero .btn-ghost:hover,
.sp-hero .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-wide {
  width: 100%;
}

.glow-frame {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.glow-svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 28px rgba(255, 90, 42, 0.35)) drop-shadow(0 0 36px rgba(46, 199, 255, 0.3));
}

/* Caption wieder auf der Animation (wie zuvor) */
.glow-caption {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  pointer-events: none;
  padding: 1.25rem;
  z-index: 2;
}

.glow-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: clamp(0.9rem, 2.2vw, 1.28rem);
  color: #fff;
  text-shadow:
    0 0 18px rgba(0, 0, 0, 0.9),
    0 2px 12px rgba(0, 0, 0, 0.65);
}

.glow-sub {
  margin: 0.45rem 0 0;
  font-size: clamp(0.75rem, 1.5vw, 0.88rem);
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.04em;
  text-shadow: 0 0 14px rgba(0, 0, 0, 0.85);
}

/* PerceptaX-AI Symbol im Change-Hero (nach dem Glow-Text) */
.hero-px-symbol {
  margin-top: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.85rem 0.45rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(8, 10, 16, 0.55);
  color: #fff;
  text-decoration: none;
  pointer-events: auto;
  backdrop-filter: blur(8px);
  box-shadow:
    0 0 0 1px rgba(225, 6, 0, 0.18),
    0 8px 24px rgba(0, 0, 0, 0.35),
    0 0 28px rgba(46, 199, 255, 0.18);
  transition: transform 0.2s var(--ease), border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.hero-px-symbol:hover,
.hero-px-symbol:focus-visible {
  transform: translateY(-1px) scale(1.03);
  border-color: rgba(225, 6, 0, 0.55);
  background: rgba(12, 14, 20, 0.72);
  box-shadow:
    0 0 0 1px rgba(225, 6, 0, 0.35),
    0 10px 28px rgba(0, 0, 0, 0.4),
    0 0 32px rgba(46, 199, 255, 0.28);
  outline: none;
}

.hero-px-icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.hero-px-icon svg {
  display: block;
  filter: drop-shadow(0 0 8px rgba(46, 199, 255, 0.35));
}

.hero-px-name {
  font-family: var(--font-display);
  font-size: clamp(0.72rem, 1.6vw, 0.88rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

@keyframes floatGlow {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.hero-dots {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  z-index: 2;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
}

.dot.is-active,
.dot:hover {
  background: #fff;
  border-color: #fff;
  transform: scale(1.15);
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  opacity: 0.7;
  z-index: 2;
  animation: bounce 1.8s infinite;
}

.scroll-arrow {
  width: 10px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  margin-top: -6px;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

/* PerceptaX AI – großer Startseiten-Showcase */
.px-showcase {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0 5rem;
  background: #050608;
  color: #f4f6fa;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  scroll-margin-top: calc(var(--header-h) + 0.5rem);
}

.px-showcase-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 50% at 12% 80%, rgba(255, 90, 42, 0.16), transparent 60%),
    radial-gradient(ellipse 50% 55% at 88% 25%, rgba(46, 199, 255, 0.14), transparent 58%),
    linear-gradient(180deg, #050608 0%, #0a0d14 100%);
}

.px-showcase-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .px-showcase-inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 3rem;
  }
}

.px-showcase-brand {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.06em;
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  color: #fff;
  text-shadow:
    0 0 28px rgba(46, 199, 255, 0.25),
    0 2px 18px rgba(0, 0, 0, 0.45);
}

.px-showcase-copy h2 {
  margin: 0 0 1.15rem;
  font-size: clamp(1.45rem, 3.2vw, 2.15rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 22ch;
}

.px-showcase-copy p {
  margin: 0 0 0.9rem;
  font-size: clamp(1.02rem, 1.8vw, 1.15rem);
  line-height: 1.65;
  color: rgba(244, 246, 250, 0.86);
  max-width: 44ch;
  font-weight: 500;
}

.px-showcase-copy p:last-of-type {
  margin-bottom: 1.35rem;
}

.px-showcase-tags {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.px-showcase-tags li {
  margin: 0;
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(244, 246, 250, 0.9);
  background: rgba(255, 255, 255, 0.04);
}

.px-showcase-cta {
  display: inline-flex;
}

.px-showcase-visual {
  display: grid;
  place-items: center;
}

.px-showcase-orb {
  position: relative;
  width: min(100%, 340px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  animation: floatGlow 7s ease-in-out infinite;
}

.px-showcase-svg {
  width: 100%;
  height: auto;
  filter:
    drop-shadow(0 0 22px rgba(46, 199, 255, 0.28))
    drop-shadow(0 0 26px rgba(225, 6, 0, 0.22));
}

.px-showcase-orb-label {
  position: absolute;
  margin: 0;
  bottom: 18%;
  font-family: var(--font-display);
  font-size: clamp(0.78rem, 1.8vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.75);
}

/* Services – hell, direkt nach dem Hero (nächste Seite) */
.services-section {
  padding: 5rem 0 4.5rem;
  background: var(--light-bg);
  color: var(--light-text);
  border-top: 1px solid var(--light-border);
  scroll-margin-top: calc(var(--header-h) + 0.5rem);
}

.services-groups {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .services-groups {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.service-group {
  padding: 1.35rem 0;
  border-top: 1px solid var(--light-border);
}

.service-group h3 {
  margin: 0 0 0.9rem;
  font-size: 1.15rem;
  font-weight: 800;
}

.service-group h3 a {
  color: inherit;
  transition: color 0.2s;
}

.service-group h3 a:hover {
  color: var(--brand-red);
}

.service-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.service-group li {
  color: var(--light-text-muted);
  font-weight: 500;
  padding-inline-start: 0.9rem;
  position: relative;
}

.service-group li a {
  color: inherit;
  font-weight: 600;
  transition: color 0.2s;
}

.service-group li a:hover {
  color: var(--brand-red);
}

.service-group li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--brand-red);
}

.service-group li:target {
  color: var(--light-text);
}

/* ACL pillars – hell */
.acl-section {
  padding: 5.5rem 0 4.5rem;
  background: var(--light-bg-soft);
  color: var(--light-text);
  border-top: 1px solid var(--light-border);
}

.section-inner {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
}

.section-head {
  margin-bottom: 2.5rem;
  max-width: 40rem;
}

.section-head--about {
  margin-bottom: 0;
  max-width: 48rem;
}

.section-head--about .about-lead {
  margin: 1rem 0 0;
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--light-text);
}

.section-head--about .about-copy {
  margin-top: 1.35rem;
  display: grid;
  gap: 1rem;
}

.section-head--about .about-copy p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--light-text-muted);
}

.section-head--about .about-copy .about-tagline {
  margin-top: 0.35rem;
  font-weight: 600;
  color: var(--light-text);
}

.section-head--about .about-subhead {
  margin: 1.15rem 0 0;
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--light-text);
}

.section-head--about .about-list {
  margin: 0.15rem 0 0.35rem;
  padding: 0 0 0 1.15rem;
  display: grid;
  gap: 0.35rem;
  color: var(--light-text-muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.section-head--about .about-list li::marker {
  color: var(--brand-red);
}

.section-head h2,
.order-intro h2,
.contact-inner h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  letter-spacing: -0.02em;
  color: var(--light-text);
}

.section-head p,
.order-intro p,
.contact-inner p {
  margin: 0.75rem 0 0;
  color: var(--light-text-muted);
  font-size: 1.05rem;
}

.pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.pillar {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: center;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--light-border);
  transition: transform 0.35s var(--ease), opacity 0.35s;
}

.pillar:first-child {
  border-top: 1px solid var(--light-border);
}

.pillar-letter {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 4.5rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px rgba(12, 14, 18, 0.88);
  transform: skewX(-8deg);
  min-width: 1.2em;
  text-align: center;
  transition: color 0.3s, -webkit-text-stroke 0.3s, text-shadow 0.3s;
}

.pillar:hover .pillar-letter {
  color: var(--brand-red);
  -webkit-text-stroke: 0;
  text-shadow: none;
}

.pillar-body h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--light-text);
}

.pillar-body p {
  margin: 0.35rem 0 0;
  color: var(--light-text-muted);
  font-size: 1.05rem;
}

@media (min-width: 720px) {
  .pillar {
    grid-template-columns: 5.5rem 1fr;
    gap: 2rem;
    padding: 1.6rem 0.25rem;
  }

  .pillar-body {
    display: grid;
    grid-template-columns: minmax(10rem, 14rem) 1fr;
    align-items: baseline;
    gap: 1.5rem;
  }

  .pillar-body p {
    margin: 0;
  }
}

/* Projektablauf accordion */
.process-section {
  padding: 5rem 0 4.5rem;
  background: var(--light-bg-soft);
  color: var(--light-text);
  border-top: 1px solid var(--light-border);
}

/* Nur bei App-/Website-/Prozess-Seiten bzw. Software-Kategorie anzeigen */
.process-section--service,
.process-section--category {
  display: none;
}

body[data-service="app"] .process-section--service,
body[data-service="web"] .process-section--service,
body[data-category="software"] .process-section--category {
  display: block;
}

.process-section .section-head h2 {
  color: #111318;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.process-intro {
  display: grid;
  gap: 1.75rem;
  max-width: 72rem;
  margin: 0 auto 2.5rem;
}

@media (min-width: 860px) {
  .process-intro {
    grid-template-columns: 1.35fr 1fr;
    align-items: center;
    gap: 2.5rem;
    max-width: 72rem;
  }
}

.process-intro-media {
  overflow: hidden;
  background: #fff;
  border-radius: 0;
}

.process-intro-media img {
  display: block;
  width: 100%;
  height: auto;
  min-height: clamp(280px, 42vw, 520px);
  vertical-align: middle;
  object-fit: cover;
  object-position: center center;
}

.process-intro-text {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  line-height: 1.65;
  font-weight: 500;
  color: #1a1f2a;
}

.process-intro-copy .process-intro-text:last-child {
  margin-bottom: 0;
}

.section-head--center {
  text-align: center;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.process-accordion {
  margin-top: 2.25rem;
  display: grid;
  gap: 0.65rem;
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}

.process-item {
  margin: 0;
}

.process-item h3 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

.process-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.25rem;
  border: 1px solid var(--light-border);
  border-radius: 4px;
  background: #fff;
  color: var(--light-text);
  font-family: var(--font-body);
  font-size: clamp(0.98rem, 1.8vw, 1.12rem);
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.2s var(--ease), border-color 0.2s;
}

.process-trigger:hover {
  background: var(--light-bg-soft);
  border-color: rgba(12, 14, 18, 0.2);
}

.process-trigger:focus-visible {
  outline: 2px solid var(--brand-red);
  outline-offset: 2px;
}

.process-item.is-open .process-trigger {
  background: var(--light-bg-soft);
  border-color: rgba(225, 6, 0, 0.35);
  color: var(--light-text);
}

.process-icon {
  position: relative;
  flex: 0 0 1.1rem;
  width: 1.1rem;
  height: 1.1rem;
}

.process-icon::before,
.process-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 2px;
  background: var(--light-text);
  transform: translate(-50%, -50%);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.process-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.process-item.is-open .process-icon::before {
  background: var(--brand-red);
}

.process-item.is-open .process-icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg) scaleX(0.2);
}

.page-process .process-item.is-open .process-trigger {
  border-color: rgba(249, 115, 22, 0.4);
}

.page-process .process-item.is-open .process-icon::before {
  background: var(--brand-orange);
}

.page-process .process-trigger:focus-visible {
  outline-color: var(--brand-orange);
}

.page-software-it .siw-faq .process-item.is-open .process-trigger {
  border-color: rgba(43, 140, 255, 0.4);
}

.page-software-it .siw-faq .process-item.is-open .process-icon::before {
  background: var(--brand-blue);
}

.page-software-it .siw-faq .process-trigger:focus-visible {
  outline-color: var(--brand-blue);
}

.process-panel {
  overflow: hidden;
  background: #fff;
  color: #22262f;
  border-radius: 0 0 4px 4px;
  box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.04);
}

.process-panel[hidden] {
  display: none;
}

.process-panel p {
  margin: 0;
  padding: 1.25rem 1.35rem 1.4rem;
  font-size: 0.98rem;
  line-height: 1.65;
  color: #3a404c;
}

.process-item.is-open .process-panel {
  animation: processOpen 0.35s var(--ease);
}

@keyframes processOpen {
  from {
    opacity: 0;
    transform: translateY(-0.35rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Order form – hell */
.order-section {
  padding: 5rem 0;
  background: var(--light-bg);
  color: var(--light-text);
  border-top: 1px solid var(--light-border);
}

.order-trust {
  display: grid;
  gap: 1.75rem;
  max-width: 72rem;
  margin: 0 auto 2.75rem;
}

@media (min-width: 860px) {
  .order-trust {
    grid-template-columns: 1.35fr 1fr;
    align-items: center;
    gap: 2.5rem;
  }
}

.order-trust-media {
  overflow: hidden;
  background: #fff;
  border-radius: 0;
}

.order-trust-media img {
  display: block;
  width: 100%;
  height: auto;
  min-height: clamp(280px, 42vw, 520px);
  object-fit: cover;
  object-position: center center;
}

.order-trust-text {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  line-height: 1.65;
  font-weight: 500;
  color: #1a1f2a;
}

.order-trust-copy .order-trust-text:last-child {
  margin-bottom: 0;
}

.order-seo-block {
  max-width: 72rem;
  margin: 0 auto 2.75rem;
}

.order-seo-block h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  color: #111;
}

.order-seo-block p {
  margin: 0 0 0.85rem;
  font-size: 1.02rem;
  line-height: 1.65;
  font-weight: 500;
  color: #1a1f2a;
}

.order-seo-list {
  margin: 0.85rem 0 1rem;
  padding-inline-start: 1.2rem;
  display: grid;
  gap: 0.45rem;
  color: #1a1f2a;
  font-weight: 600;
  line-height: 1.5;
}

.order-seo-block p:last-child {
  margin-bottom: 0;
}

.order-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .order-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3.5rem;
    align-items: start;
  }
}

.order-points {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.order-points li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--light-text);
  font-weight: 500;
}

.order-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--brand-red);
}

.order-form {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--light-border);
  border-radius: 18px;
  box-shadow: 0 12px 36px rgba(12, 14, 18, 0.08);
}

@media (min-width: 640px) {
  .order-form {
    grid-template-columns: 1fr 1fr;
    padding: 1.75rem;
  }

  .field-full {
    grid-column: 1 / -1;
  }
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.optional {
  font-weight: 500;
  color: var(--light-text-muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--light-border);
  background: #fff;
  color: var(--light-text);
  padding: 0.8rem 0.95rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field textarea {
  resize: vertical;
  min-height: 140px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(46, 199, 255, 0.7);
  box-shadow: 0 0 0 3px rgba(46, 199, 255, 0.15);
}

.field input.is-invalid,
.field select.is-invalid,
.field textarea.is-invalid {
  border-color: #ff5a5a;
  box-shadow: 0 0 0 3px rgba(255, 90, 90, 0.15);
}

.field select {
  appearance: none;
  background-color: #fff;
  background-image: linear-gradient(45deg, transparent 50%, #0c0e12 50%),
    linear-gradient(135deg, #0c0e12 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 55%,
    calc(100% - 12px) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.2rem;
}

.form-actions {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.25rem;
}

.form-hint {
  margin: 0;
  min-height: 1.25em;
  font-size: 0.9rem;
  color: var(--light-text-muted);
}

.form-hint.is-success {
  color: #0a7a45;
}

.form-hint.is-error {
  color: #c62828;
}

.field-privacy .privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--light-text);
  cursor: pointer;
}

.field-privacy .privacy-check input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
  accent-color: var(--brand-red);
}

.field-privacy .privacy-check a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.field-privacy .privacy-check input.is-invalid {
  outline: 2px solid #c62828;
  outline-offset: 2px;
}

/* Kunden */
.clients-section {
  padding: 4.25rem 0 3.5rem;
  background: #ffffff;
  color: var(--light-text);
  border-top: 1px solid var(--light-border);
  overflow: hidden;
}

.clients-section .section-head {
  margin-bottom: 1.75rem;
  margin-inline: auto;
  text-align: center;
  max-width: 40rem;
}

.clients-logos,
.clients-single {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 1.75rem 3rem;
  min-height: 5.5rem;
  padding: 0.5rem 0 0.25rem;
  width: max-content;
  max-width: none;
  margin-inline: auto;
  animation: clientsDriftMobile 10s ease-in-out infinite alternate;
  will-change: transform;
}

.clients-logos:hover,
.clients-single:hover,
.clients-logos:focus-within,
.clients-single:focus-within {
  animation-play-state: paused;
}

.clients-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 4.75rem;
  min-width: 10rem;
  padding: 0.65rem 1rem;
  background: #ffffff;
  border-radius: 8px;
  flex: 0 0 auto;
}

.clients-logo:focus-visible {
  outline: 2px solid var(--brand-red);
  outline-offset: 4px;
}

.clients-logo-mark {
  display: block;
  line-height: 0;
}

.clients-logo-mark svg,
.clients-logo-mark img {
  display: block;
  width: min(230px, 78vw);
  height: auto;
  max-width: 100%;
}

.clients-logo-mark img {
  width: min(200px, 70vw);
  object-fit: contain;
  background: #fff;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes clientsDriftMobile {
  from {
    transform: translateX(-24vw);
  }
  to {
    transform: translateX(24vw);
  }
}

@keyframes clientsDriftDesktop {
  from {
    transform: translateX(-14vw);
  }
  to {
    transform: translateX(14vw);
  }
}

@media (min-width: 900px) {
  .clients-logos,
  .clients-single {
    animation-name: clientsDriftDesktop;
    animation-duration: 14s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .clients-logos,
  .clients-single {
    animation: none !important;
  }
}

/* Contact strip – hell */
.contact-strip {
  padding: 3.5rem 0;
  border-top: 1px solid var(--light-border);
  background: var(--light-bg-soft);
  color: var(--light-text);
}

.contact-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Footer – hell */
.site-footer {
  border-top: 1px solid var(--light-border);
  padding: 2.75rem 0 2.25rem;
  background: #fff;
  color: var(--light-text);
}

.footer-inner {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
  display: grid;
  gap: 0.35rem;
  justify-items: start;
}

.footer-inner--wide {
  gap: 1.75rem;
}

.footer-brand {
  display: grid;
  gap: 0.35rem;
}

.footer-cols {
  display: grid;
  gap: 1.5rem;
  width: 100%;
}

@media (min-width: 720px) {
  .footer-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }
}

.footer-col h3 {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--light-text);
  font-weight: 800;
}

.footer-partner {
  margin: 0 !important;
  font-weight: 700;
  color: var(--light-text) !important;
}

.footer-partner-person {
  margin: 0.15rem 0 0.65rem !important;
  font-weight: 600;
  color: var(--light-text) !important;
}

.footer-meta {
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.footer-meta li {
  display: grid;
  grid-template-columns: 1.35rem 1fr;
  gap: 0.65rem;
  align-items: start;
  color: var(--light-text-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.footer-meta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  color: var(--light-text);
  margin-top: 0.05rem;
}

.footer-meta a {
  color: inherit;
}

.footer-contact-extra {
  margin: 0;
}

.footer-col p,
.footer-col a {
  margin: 0;
  color: var(--light-text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.footer-col a {
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--brand-red);
}

.footer-inner p {
  margin: 0;
  color: var(--light-text-muted);
  font-size: 0.92rem;
}

.footer-copy {
  margin-top: 0.25rem !important;
  padding-top: 1.25rem;
  border-top: 1px solid var(--light-border);
  width: 100%;
  font-size: 0.82rem !important;
}

.contact-strip .btn-ghost {
  border-color: rgba(12, 14, 18, 0.35);
  color: var(--light-text);
}

.contact-strip .btn-ghost:hover {
  background: rgba(12, 14, 18, 0.05);
}

/* Legal / Impressum page – hell */
.legal-page {
  background: var(--light-bg);
  color: var(--light-text);
  min-height: 100vh;
}

.legal-main {
  padding: 3.5rem 0 4rem;
}

.legal-wrap {
  width: min(720px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.legal-wrap h1 {
  margin: 0 0 2rem;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.legal-block {
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--light-border);
}

.legal-block h2 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  color: var(--light-text);
}

.legal-block p {
  margin: 0 0 0.55rem;
  color: var(--light-text-muted);
  line-height: 1.65;
}

.legal-block a {
  color: var(--brand-red);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-note {
  margin: 1.5rem 0 0;
  font-size: 0.88rem;
  color: #c9a227;
  line-height: 1.55;
}

/* Reveal on scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* RTL */
html[dir="rtl"] .nav-link::after {
  transform-origin: right;
}

html[dir="rtl"] .hero-dots {
  right: auto;
  left: 1rem;
}

html[dir="rtl"] .logo-mark,
html[dir="rtl"] .brand-signal,
html[dir="rtl"] .pillar-letter {
  transform: skewX(8deg);
}

html[dir="rtl"] .field select {
  background-position:
    18px 55%,
    12px 55%;
  padding-right: 0.95rem;
  padding-left: 2.2rem;
}

html[dir="rtl"] .order-points li {
  padding-left: 0;
  padding-right: 1.1rem;
}

html[dir="rtl"] .order-points li::before {
  left: auto;
  right: 0;
}

/* Cookie-/Speicher-Hinweis */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 400;
  padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
  background: rgba(8, 10, 14, 0.96);
  color: #f4f6fa;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.35);
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.28s var(--ease), opacity 0.28s var(--ease);
}

.cookie-banner.is-hiding {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}

.cookie-banner-inner {
  width: min(var(--max, 1120px), calc(100% - 0.5rem));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

.cookie-banner-copy {
  flex: 1 1 18rem;
  min-width: 0;
}

.cookie-banner-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.cookie-banner-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(244, 246, 250, 0.82);
}

.cookie-banner-text a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  flex-shrink: 0;
}

.cookie-banner .btn {
  min-height: 2.5rem;
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
}

.cookie-banner .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  background: transparent;
}

.cookie-banner .btn-ghost:hover,
.cookie-banner .btn-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
}

body.has-cookie-banner .whatsapp-fab {
  bottom: calc(7.5rem + env(safe-area-inset-bottom, 0px));
}

/* WhatsApp FAB */
.whatsapp-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 200;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s;
}

.whatsapp-fab:hover {
  transform: translateY(-2px) scale(1.04);
  background: #20bd5a;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
}

.whatsapp-fab:focus-visible {
  outline: 3px solid rgba(37, 211, 102, 0.45);
  outline-offset: 3px;
}

.whatsapp-fab svg {
  display: block;
}

.seo-local,
.seo-faq {
  padding: 4rem 0 3.25rem;
  border-top: 1px solid var(--light-border);
  background: #fff;
  color: var(--light-text);
}

.seo-local .section-head p {
  max-width: 46rem;
  margin: 0.75rem 0 0;
  color: var(--light-text-muted);
  line-height: 1.6;
}

.seo-local .section-head a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.seo-local-grid {
  margin-top: 2rem;
  display: grid;
  gap: 1.5rem 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.seo-local-grid h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.seo-local-grid h3 a {
  color: inherit;
  text-decoration: none;
}

.seo-local-grid h3 a:hover,
.seo-local-grid h3 a:focus-visible {
  color: var(--brand-red);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.seo-local-grid p {
  margin: 0;
  color: var(--light-text-muted);
  line-height: 1.55;
  font-size: 0.95rem;
}

.seo-faq {
  background:
    radial-gradient(ellipse 50% 40% at 50% 0%, rgba(225, 6, 0, 0.04), transparent 60%),
    #f7f8fa;
}

.seo-faq-list {
  max-width: 44rem;
  margin: 1.75rem auto 0;
  display: grid;
  gap: 0.65rem;
}

.seo-faq-item {
  border-bottom: 1px solid var(--light-border);
  padding: 0.15rem 0 0.85rem;
}

.seo-faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.4;
  list-style: none;
}

.seo-faq-item summary::-webkit-details-marker {
  display: none;
}

.seo-faq-item summary::after {
  content: "+";
  float: right;
  font-weight: 600;
  color: var(--brand-red);
}

.seo-faq-item[open] summary::after {
  content: "–";
}

.seo-faq-item p {
  margin: 0.65rem 0 0;
  color: var(--light-text-muted);
  line-height: 1.55;
  font-size: 0.95rem;
}

.seo-faq-item a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.home-teasers {
  padding: 3.5rem 0 2.5rem;
  border-top: 1px solid var(--light-border);
  background:
    radial-gradient(circle at 12% 20%, rgba(220, 38, 38, 0.05), transparent 42%),
    radial-gradient(circle at 88% 10%, rgba(31, 170, 74, 0.05), transparent 38%),
    #fff;
}

.home-teasers-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .home-teasers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1100px) {
  .home-teasers-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.home-teaser {
  padding: 1.35rem 0 0.35rem;
  border-top: 1px solid var(--light-border);
}

.home-teaser h2 {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
  font-weight: 800;
}

.home-teaser p {
  margin: 0 0 1rem;
  color: var(--light-muted, #5b6472);
  line-height: 1.55;
}

.home-teaser .btn {
  display: inline-flex;
}

.page-content-section {
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

.page-content-section .about-copy {
  max-width: 46rem;
  color: #0c0e12;
}

.page-content-section .about-copy p,
.page-content-section .about-copy li,
.page-content-section .about-copy h2,
.page-content-section .about-copy h3 {
  color: inherit;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-full,
  .scroll-hint,
  [data-reveal],
  .whatsapp-fab {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }

  [data-reveal] {
    opacity: 1 !important;
  }

  .hero-copy[data-hero-live],
  .hero-left > .brand-signal {
    opacity: 1 !important;
    visibility: visible !important;
  }

  .hero-full .glow-frame {
    display: none !important;
  }

  .hero-full .glow-frame.is-base {
    display: grid !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* Site search overlay */
.site-search {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: grid;
  place-items: start center;
  padding: calc(var(--header-h) + 1.25rem) 1rem 2rem;
}

.site-search[hidden] {
  display: none !important;
}

.site-search-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 14, 0.55);
  backdrop-filter: blur(2px);
}

.site-search-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 40rem);
  background: #fff;
  color: #0c0e12;
  border: 1px solid #e8eaee;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.site-search-bar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 0.9rem;
  border-bottom: 1px solid #eceef2;
}

.site-search-icon {
  flex: 0 0 auto;
  color: #6b7280;
}

.site-search-input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: #0c0e12;
}

.site-search-input::placeholder {
  color: #8b93a1;
  font-weight: 500;
}

.site-search-close {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: #4a5160;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.site-search-close:hover {
  background: #f2f4f7;
  color: #0c0e12;
}

.site-search-hint {
  margin: 0;
  padding: 0.85rem 1rem 1rem;
  color: #6b7280;
  font-size: 0.92rem;
  line-height: 1.45;
}

.site-search-hint[hidden] {
  display: none !important;
}

.site-search-results {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: min(55vh, 26rem);
  overflow: auto;
}

.site-search-result {
  display: block;
  padding: 0.85rem 1rem;
  border-top: 1px solid #f0f2f5;
  color: inherit;
  text-decoration: none;
  transition: background 0.15s ease;
}

.site-search-result:hover,
.site-search-result:focus-visible {
  background: #f6f8fb;
  outline: none;
}

.site-search-result-title {
  display: block;
  font-weight: 750;
  font-size: 0.98rem;
  color: #0c0e12;
}

.site-search-result-desc {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.86rem;
  line-height: 1.45;
  color: #5b6472;
}

body.is-search-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .site-search {
    padding: calc(var(--header-h) + 0.65rem) 0.65rem 1rem;
  }

  .site-search-dialog {
    border-radius: 12px;
  }
}
