/* =========================================================
   Octopus Solutions: IT
   Leitfarbe ist das Lila aus dem Logo (#474674), Hellblau nur als Akzent.
   Sektionen wechseln strikt zwischen Weiß und Lila.
   ========================================================= */

/* Schriften lokal (keine Verbindung zu Google) */
@font-face {
  font-family: "Unbounded"; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url(../fonts/unbounded.woff2) format("woff2");
}
@font-face {
  font-family: "Hanken Grotesk"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../fonts/hanken-grotesk.woff2) format("woff2");
}
@font-face {
  font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap;
  src: url(../fonts/jetbrains-mono.woff2) format("woff2");
}

:root {
  --white: #ffffff;
  --light: #f4f4f9;             /* lila getöntes Weiß für Flächen in weißen Sektionen */
  --light-2: #e9e9f3;
  --sky: #74c5da;
  --indigo: #474674;            /* Logo-Lila */
  --indigo-deep: #353457;
  --lilac: #8a88c9;
  --lilac-soft: #c9c8ec;
  --slate: #7a7a98;
  --gray: #5f5f78;
  --petrol: #1f1e3a;

  --sky-deep: #3e9fb9;          /* dunklere Variante von #74c5da für Text auf Weiß */
  --line: #e4e4ef;
  --line-strong: #cfcfe0;
  --warn: #e0a032;
  --danger: #d9546b;

  --f-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --f-body: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.33, 0, 0.15, 1);
  --radius: 22px;
  --gutter: clamp(1rem, 4vw, 3rem);
  --header-h: 80px;
  --shadow: 0 1px 2px rgba(9, 41, 51, .04), 0 12px 40px -18px rgba(71, 70, 116, .18);
  --wave-h: clamp(26px, 4.6vw, 70px);
  /* feine Struktur für lila Flächen: statische Körnung + Punktraster */
  --lila-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 .09 0 0 0 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --lila-dots: radial-gradient(rgba(255, 255, 255, .055) 1px, transparent 1.3px);
  --wave-top-a: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0 0H1440V30C1180 74 940 6 700 34S250 72 0 26Z'/%3E%3C/svg%3E");
  --wave-top-b: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0 0H1440V22C1210 58 1010 70 760 40S300 4 0 36Z'/%3E%3C/svg%3E");
  --wave-bottom-a: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0 80H1440V46C1200 8 980 70 720 44S260 6 0 50Z'/%3E%3C/svg%3E");
  --wave-bottom-b: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0 80H1440V54C1180 20 900 12 660 40S220 76 0 42Z'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--petrol);
  font-family: var(--f-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--indigo); color: var(--white); }

/* Fließtext im Blocksatz, mit Silbentrennung gegen Lücken.
   Blocksatz nur in Spalten ab 36rem Breite; schmalere Spalten (kleine Karten, Handy)
   bekommen Flattersatz, sonst reißen zu große Wortabstände auf.
   Die großen Einleitungstexte (19 bis 21 px) stehen immer im Flattersatz: bei ihrer
   Schriftgröße passen zu wenige Zeichen in eine Zeile, der Blocksatz riss dort Lücken
   bis zum 2,8-fachen Wortabstand auf (gemessen 22.09.2026).
   Kein text-wrap: pretty, das reißt im Blocksatz riesige Lücken. */
.text {
  text-align: start;
  -webkit-hyphens: auto;
  hyphens: auto;
}
.card__body, .section__head, .hero__content, .step,
.company__intro, .value, .faq__intro, .qa__a, .contact__info, .legal .wrap {
  container-type: inline-size;
}
@container (min-width: 36rem) {
  .text { text-align: justify; }
}
.text.section__lead, .text.hero__lead, .page-hero .text { text-align: start; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: fixed; left: 1rem; top: -4rem; z-index: 100;
  background: var(--indigo); color: var(--white);
  padding: .6rem 1rem; border-radius: 8px; font-weight: 600;
}
.skip:focus { top: 1rem; }

.wrap {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.mono { font-family: var(--f-mono); letter-spacing: 0; }
.muted { color: var(--slate); }

.grad {
  background: linear-gradient(100deg, var(--indigo) 10%, var(--lilac) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons (Lila, auf lila Flächen weiß) ---------- */
.btn {
  --pad-y: 1rem; --pad-x: 1.6rem;
  position: relative;
  display: inline-flex; align-items: center; gap: .7rem;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .5s var(--ease-out), background-color .3s, border-color .3s, color .3s, box-shadow .4s;
  white-space: nowrap;
}
.btn svg {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .4s var(--ease-out);
}
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn--primary {
  background: var(--indigo);
  color: var(--white);
  box-shadow: 0 10px 30px -12px rgba(71, 70, 116, .75);
}
.btn--primary:hover {
  background: var(--indigo-deep);
  box-shadow: 0 14px 36px -12px rgba(53, 52, 87, .8);
}
.btn--ghost {
  border-color: var(--line-strong);
  color: var(--indigo);
  background: var(--white);
}
.btn--ghost:hover { border-color: var(--indigo); background: var(--light); }
.theme-dark .btn--primary { background: var(--white); color: var(--indigo); box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .45); }
.theme-dark .btn--primary:hover { background: var(--lilac-soft); }
.theme-dark .form .btn--primary { background: var(--indigo); color: var(--white); }
.theme-dark .form .btn--primary:hover { background: var(--indigo-deep); }
.btn--small { --pad-y: .75rem; --pad-x: 1.2rem; font-size: .9rem; }

/* ---------- Eyebrow / Headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .65rem;
  font-family: var(--f-mono);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--slate);
}
.eyebrow .idx {
  display: inline-grid; place-items: center;
  min-width: 2.1rem; height: 1.5rem; padding-inline: .4rem;
  border-radius: 6px;
  background: rgba(71, 70, 116, .1);
  color: var(--indigo);
  letter-spacing: 0;
}
.h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 1.2rem + 3.2vw, 4rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin-top: 1.25rem;
  color: var(--indigo);
  text-wrap: balance;
}
.section__lead {
  color: var(--gray);
  font-size: clamp(1.02rem, .98rem + .3vw, 1.2rem);
  max-width: 58ch;
  margin-top: 1.5rem;
}

/* ---------- Lila Sektionen ---------- */
.theme-dark {
  background-color: var(--indigo);
  background-image: var(--lila-grain), var(--lila-dots), radial-gradient(60% 50% at 15% 0%, rgba(138, 136, 201, .28), transparent 70%);
  background-size: 180px 180px, 28px 28px, 100% 100%;
  color: var(--white);
}
.theme-dark .h2 { color: var(--white); }
.theme-dark .muted { color: var(--lilac-soft); }
.theme-dark .section__lead { color: rgba(255, 255, 255, .78); }
.theme-dark .eyebrow { color: rgba(255, 255, 255, .7); }
.theme-dark .grad { background: linear-gradient(100deg, #ffffff 0%, var(--lilac-soft) 75%); -webkit-background-clip: text; background-clip: text; }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color .4s, border-color .4s, box-shadow .4s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(255, 255, 255, .72);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -20px rgba(71, 70, 116, .35);
}
.header__inner {
  max-width: 1320px; margin-inline: auto;
  padding-inline: var(--gutter);
  height: var(--header-h);
  display: flex; align-items: center; gap: 2rem;
}
.brand {
  position: relative; display: block; flex: none;
  /* Oben auf der Seite groß, beim Scrollen weich auf Normalgröße; transform verschiebt das Layout nicht */
  transform-origin: left top;
  transition: transform .6s var(--ease-out);
}
.header:not(.is-scrolled):not(.menu-open) .brand { transform: scale(1.5); }
@media (max-width: 900px) {
  .header:not(.is-scrolled):not(.menu-open) .brand { transform: scale(1.3); }
}
.brand__logo { height: 54px; width: auto; transition: opacity .4s; }
.brand__logo--light { position: absolute; inset: 0; opacity: 0; }

/* Navbar passt sich dem Sektions-Hintergrund an */
.header[data-nav="dark"] .brand__logo { opacity: 0; }
.header[data-nav="dark"] .brand__logo--light { opacity: 1; }
/* Milchglas; nicht bei offenem Menü, sonst wird die Kopfleiste zum Bezugsrahmen des fixierten Menüs */
.header.is-scrolled:not(.menu-open) {
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  backdrop-filter: blur(16px) saturate(1.5);
}
.header.is-scrolled[data-nav="dark"] {
  background: rgba(71, 70, 116, .7);
  border-bottom-color: rgba(255, 255, 255, .12);
  box-shadow: 0 8px 30px -20px rgba(9, 41, 51, .6);
}
.header[data-nav="dark"] .nav a { color: rgba(255, 255, 255, .78); }
.header[data-nav="dark"] .nav a:hover,
.header[data-nav="dark"] .nav a.is-active { color: var(--white); background: rgba(255, 255, 255, .1); }
.header[data-nav="dark"] .burger { background: transparent; border-color: rgba(255, 255, 255, .35); }
.header[data-nav="dark"] .burger span { background: var(--white); }
.header[data-nav="dark"] .header__cta { background: var(--white); color: var(--indigo); box-shadow: none; }
.header[data-nav="dark"] .header__cta:hover { background: var(--lilac-soft); }
.header .nav a, .header .burger, .header .burger span { transition: color .4s, background-color .4s, border-color .4s, transform .4s var(--ease-out); }
/* Offenes Mobilmenü ist immer weiß */
.header.menu-open .brand__logo { opacity: 1; }
.header.menu-open .brand__logo--light { opacity: 0; }
.header.menu-open .burger { background: var(--white); border-color: var(--line-strong); }
.header.menu-open .burger span { background: var(--indigo); }
.nav { display: flex; gap: .3rem; margin-left: auto; }
.nav a {
  position: relative;
  padding: .55rem .95rem;
  font-size: .95rem;
  font-weight: 500;
  color: var(--gray);
  border-radius: 999px;
  transition: color .25s, background-color .25s;
}
.nav a:hover { color: var(--indigo); background: var(--light); }
.nav a.is-active { color: var(--indigo); }
.nav a.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: .15rem;
  width: 16px; height: 2px; border-radius: 2px;
  background: var(--sky); transform: translateX(-50%);
}
.burger { display: none; }
.mobile-nav { display: none; }
/* Acht Menüpunkte: unterhalb von 1300 px enger setzen, sonst läuft die Kopfleiste über */
@media (max-width: 1300px) {
  .header__inner { gap: 1.2rem; }
  .nav { gap: .1rem; }
  .nav a { padding: .5rem .7rem; font-size: .9rem; }
}

/* Unter 1024 px passen acht Menüpunkte nicht mehr neben Logo und Knopf: dort gilt das Menü hinter dem Burger */
@media (max-width: 1023px) {
  .nav, .header__cta { display: none; }
  .burger {
    display: grid; place-content: center; gap: 6px;
    margin-left: auto;
    width: 46px; height: 46px;
    border: 1px solid var(--line-strong); border-radius: 50%;
    background: var(--white);
    cursor: pointer;
  }
  .burger span {
    display: block; width: 18px; height: 1.5px; background: var(--indigo);
    transition: transform .4s var(--ease-out);
  }
  .header.menu-open .burger span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .header.menu-open .burger span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .mobile-nav {
    display: flex; flex-direction: column;
    position: fixed; inset: 0; z-index: -1;
    padding: calc(var(--header-h) + 1rem) var(--gutter) 2rem;
    background: var(--white);
    clip-path: inset(0 0 100% 0);
    transition: clip-path .6s var(--ease-out);
  }
  .header.menu-open .mobile-nav { clip-path: inset(0 0 0 0); }
  .mobile-nav > a {
    display: flex; align-items: baseline; gap: 1rem;
    padding: .9rem 0;
    font-family: var(--f-display); font-size: 1.5rem;
    color: var(--indigo);
    border-bottom: 1px solid var(--line);
  }
  .mobile-nav em { font-family: var(--f-mono); font-style: normal; font-size: .75rem; color: var(--sky-deep); }
  .mobile-nav { overflow-y: auto; overscroll-behavior: contain; }
  .mobile-nav__foot {
    margin-top: auto; padding-top: 2rem;
    display: grid; gap: 1rem; justify-items: center;
  }
  .mobile-nav__foot .btn { width: 100%; justify-content: center; }
  .mobile-nav__tel { font-size: .9rem; color: var(--gray); padding: .4rem; min-height: 44px; display: inline-flex; align-items: center; }
  html.no-scroll, html.no-scroll body { overflow: hidden; }

  /* Beim Scrollen deckend, sonst scheint der Inhalt auf dem Handy durch */
  .header.is-scrolled { background: rgba(255, 255, 255, .88); }
  .header.is-scrolled[data-nav="dark"] { background: rgba(71, 70, 116, .9); }
}
@media (max-width: 560px) {
  :root { --header-h: 68px; }
  .brand__logo { height: 44px; }
  .burger { width: 44px; height: 44px; }
}
.nowrap { white-space: nowrap; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: 7rem;
  overflow: hidden;
  isolation: isolate;
  /* ohne Farbschleier hinter dem Octopus */
  background: var(--white);
}
/* Lichtverlauf: weiche Farbflächen ohne Blur-Filter, animiert wird nur transform */
/* Lichtverlauf vorerst aus (Wunsch: keine Schattierung hinter dem Octopus) */
.hero__aurora { display: none; position: absolute; inset: 0; z-index: -3; overflow: hidden; pointer-events: none; }
/* nach unten weich auslaufen lassen, sonst endet das Licht an der Hero-Kante hart */
.hero__aurora::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%;
  background: linear-gradient(rgba(255, 255, 255, 0), var(--white));
}
.hero__aurora i {
  position: absolute;
  width: 62vmax; height: 62vmax;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138, 136, 201, .34) 0%, rgba(138, 136, 201, 0) 62%);
  will-change: transform;
  animation: aurora 26s ease-in-out infinite alternate;
}
.hero__aurora i:nth-child(1) { left: 38%; top: -28%; }
.hero__aurora i:nth-child(2) {
  left: 58%; top: 18%; width: 48vmax; height: 48vmax;
  background: radial-gradient(circle, rgba(116, 197, 218, .22) 0%, rgba(116, 197, 218, 0) 62%);
  animation-duration: 31s; animation-delay: -9s;
}
.hero__aurora i:nth-child(3) {
  left: 10%; top: 40%; width: 44vmax; height: 44vmax;
  background: radial-gradient(circle, rgba(71, 70, 116, .16) 0%, rgba(71, 70, 116, 0) 62%);
  animation-duration: 36s; animation-delay: -17s;
}
@keyframes aurora {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(-8vw, 6vh, 0) scale(1.12); }
  100% { transform: translate3d(5vw, -4vh, 0) scale(.94); }
}
.hero__canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: -1;
}
.hero__grid {
  position: absolute; inset: 0; z-index: -2;
  background-image: radial-gradient(rgba(71, 70, 116, .16) 1px, transparent 1.2px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(70% 70% at 60% 45%, #000 20%, transparent 80%);
  mask-image: radial-gradient(70% 70% at 60% 45%, #000 20%, transparent 80%);
}
.hero__content { position: relative; }
.hero__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2rem, 7.2vw, 6.8rem);
  line-height: .98;
  letter-spacing: -.035em;
  color: var(--indigo);
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__title .line > span { display: inline-block; }
.hero__lead {
  max-width: 46ch;
  margin-top: 2rem;
  color: var(--gray);
  font-size: clamp(1.05rem, 1rem + .45vw, 1.3rem);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.5rem; }
@media (max-width: 560px) {
  .hero { padding-bottom: 6rem; }
  .hero__title { font-size: clamp(2.2rem, 10.6vw, 3rem); }
  .hero__lead { margin-top: 1.5rem; }
  .hero__actions { flex-direction: column; margin-top: 2rem; }
  .hero__actions .btn { justify-content: center; }
  .scroll-hint { bottom: 1.2rem; }
  .scroll-hint span { height: 34px; }
}

/* Scroll-Hinweis: horizontal mittig */
.scroll-hint {
  position: absolute; bottom: 1.8rem; left: 0; right: 0;
  width: max-content; margin-inline: auto;
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  font-size: .7rem; color: var(--slate); text-transform: uppercase; letter-spacing: .15em;
}
.scroll-hint span {
  width: 1px; height: 46px; background: linear-gradient(var(--line-strong), transparent);
  position: relative; overflow: hidden;
}
.scroll-hint span::after {
  content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%;
  background: var(--indigo);
  animation: drip 2s var(--ease-out) infinite;
}
@keyframes drip { to { top: 110%; } }

/* Load-in */
.load {
  opacity: 0;
  transform: translateY(28px);
  animation: rise 1.1s var(--ease-out) forwards;
  animation-delay: calc(var(--d, 0) * 110ms + 150ms);
}
.hero__title .load { transform: translateY(105%); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* =========================================================
   SECTIONS
   ========================================================= */
.section { position: relative; padding-block: clamp(5rem, 11vw, 10rem); }
.section__head { margin-bottom: clamp(3rem, 6vw, 5rem); }
.section__head--center { text-align: center; display: flex; flex-direction: column; align-items: center; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s var(--ease-out), transform .7s var(--ease-out);
  transition-delay: var(--rd, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   LEISTUNGEN (lila Sektion, weiße Karten mit gezeichneten Grafiken)
   ========================================================= */
.services {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.1rem;
}
.card {
  position: relative;
  grid-column: span 4;
  display: flex; flex-direction: column;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--petrol);
  box-shadow: 0 30px 60px -38px rgba(20, 19, 45, .7);
  overflow: hidden;
  isolation: isolate;
  transition: box-shadow .5s var(--ease-out), transform .6s var(--ease-out), opacity .6s var(--ease-out);
}
.card--wide { grid-column: span 6; }
.card.is-in:hover {
  box-shadow: 0 40px 70px -34px rgba(20, 19, 45, .8);
  transform: translateY(-4px);
}
/* Grafikfläche: Lila mit feinem Bauplan-Raster */
.card__media, .team-visual, .proj__media {
  background-color: #37365f;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(160deg, #403f6c, #2e2d52);
  background-size: 24px 24px, 24px 24px, 100% 100%;
  background-position: center;
}
.card__media {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 9;
  padding: 1rem 0;
  overflow: hidden;
}
.card--wide .card__media { aspect-ratio: 2 / 1; }

/* ---------- Illustrationen (Inline-SVG im Linienstil) ---------- */
.ill {
  width: 100%; height: 100%;
  overflow: visible;                       /* Linien dürfen über den viewBox-Rand in die Fläche auslaufen */
  fill: none;
  stroke: rgba(255, 255, 255, .85);
  stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform .8s var(--ease-out);
}
.ill .a { stroke: var(--sky); }
.ill .s { stroke: rgba(255, 255, 255, .3); }
.ill .w2 { stroke-width: 2.4; }
.ill .dash { stroke-dasharray: 3 6; }
.ill .fs { fill: rgba(255, 255, 255, .07); }
.ill .fi { fill: #37365f; }
.ill .fc { fill: rgba(116, 197, 218, .1); stroke: none; }
.ill .fa { fill: var(--sky); stroke: none; }
.ill .fw { fill: rgba(255, 255, 255, .9); stroke: none; }
/* Linien zeichnen sich einmal (pathLength="1" im Markup), der Rest blendet ein */
.ill .d {
  stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0;
  transition: stroke-dashoffset 1s var(--ease-soft), opacity .25s;
  transition-delay: calc(var(--rd, 0ms) + 150ms + var(--i, 0) * 80ms);
}
.ill .f {
  opacity: 0;
  transition: opacity .6s ease;
  transition-delay: calc(var(--rd, 0ms) + 450ms + var(--i, 0) * 80ms);
}
.is-in .ill .d { stroke-dashoffset: 0; opacity: 1; }
.is-in .ill .f { opacity: 1; }
.card.is-in:hover .ill { transform: scale(1.04); }

/* Ruhige Dauerbewegung nach dem Einblenden: Lichtpunkte wandern die Leitungen entlang,
   Strichlinien laufen langsam, einzelne Details atmen. Animiert werden nur Strichversatz, opacity und transform. */
.ill .fl {
  stroke: #dff5fb; stroke-width: 2.4;
  stroke-dasharray: .07 .93; stroke-dashoffset: .07;
  opacity: 0;
}
.is-in .ill .fl { animation: ill-flow 9s linear infinite; animation-delay: calc(2s + var(--i, 0) * 1.1s); }
@keyframes ill-flow {
  0% { stroke-dashoffset: .07; opacity: 0; }
  6%, 58% { opacity: .9; }
  66%, 100% { stroke-dashoffset: -.93; opacity: 0; }
}
.is-in .ill .dash { animation: ill-march 9s linear infinite; }
@keyframes ill-march { to { stroke-dashoffset: -18; } }
.is-in .ill .br { animation: ill-breathe 6s ease-in-out infinite; animation-delay: calc(2.5s + var(--k, 0) * .8s); }
@keyframes ill-breathe { 50% { opacity: .35; } }
.is-in .ill .ty { animation: ill-type 4.5s ease-in-out infinite; animation-delay: calc(2.5s + var(--k, 0) * .35s); }
@keyframes ill-type { 0%, 40%, 100% { opacity: .9; transform: none; } 20% { opacity: .35; transform: translateY(-2px); } }
.ill .pu { transform-box: fill-box; transform-origin: center; }
.is-in .ill .pu { animation: ill-pulse 5s ease-out infinite; animation-delay: 2.5s; }
@keyframes ill-pulse { 0% { transform: scale(.6); opacity: 1; } 70%, 100% { transform: scale(1.8); opacity: 0; } }

/* 3D-Neigung (Werte setzt main.js) */
.card { transform-style: preserve-3d; }
.card.is-tilting { transition: box-shadow .5s var(--ease-out), transform .18s ease-out, opacity .6s var(--ease-out); }
.card__body {
  display: flex; flex-direction: column;
  padding: clamp(1.3rem, 2vw, 1.9rem);
  flex: 1;
}
.card__num { font-size: .72rem; color: var(--lilac); letter-spacing: .1em; margin-bottom: .6rem; }
.card__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(1.15rem, 1rem + .55vw, 1.5rem);
  line-height: 1.2;
  letter-spacing: -.015em;
  color: var(--indigo);
  margin-bottom: .9rem;
  hyphens: manual;
  text-wrap: balance;
}
.card p { color: var(--gray); font-size: .98rem; }
.card .card__lead {
  color: var(--petrol); font-weight: 500;
  padding-bottom: .85rem; margin-bottom: .85rem;
  border-bottom: 1px solid var(--line);
}

@media (max-width: 1080px) {
  .card, .card--wide { grid-column: span 6; }
  .card--wide .card__media { aspect-ratio: 16 / 9; }
}
@media (max-width: 680px) {
  .services { grid-template-columns: 1fr; }
  .services > .card { grid-column: auto; }
}
/* Touch: kein hängenbleibender Hover-Zustand */
@media (hover: none) {
  .card.is-in:hover { transform: none; box-shadow: 0 30px 60px -38px rgba(20, 19, 45, .7); }
  .card.is-in:hover .ill { transform: none; }
}

/* Prüf-Abzeichen in Linien-Grafiken (Haken, Warnung, Kreuz), z. B. im SaaS-Umschalter */
.ill .bdg {
  transform-box: fill-box; transform-origin: center;
  transform: scale(0);
  transition: transform .5s cubic-bezier(.34, 1.4, .64, 1) var(--t, 0s);
  stroke: var(--white); stroke-width: 1.8;
}
.ill .bdg circle { stroke: none; }
.ill .bdg.ok circle { fill: var(--sky-deep); }
.ill .bdg.wr circle { fill: var(--warn); }
.ill .bdg.bd circle { fill: var(--danger); }
.is-in .ill .bdg { transform: none; }

/* =========================================================
   STEPS
   ========================================================= */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}
.steps__line {
  position: absolute; left: 0; right: 0; top: 8px;
  height: 2px; background: var(--light-2);
}
.steps__line i {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--indigo), var(--lilac));
  transform-origin: left; transform: scaleX(var(--p, 0));
}
.steps__line b {
  position: absolute; top: -4px; left: calc(var(--p, 0) * 100%);
  width: 10px; height: 10px; margin-left: -5px; border-radius: 50%;
  background: var(--indigo); box-shadow: 0 0 0 4px rgba(71, 70, 116, .2);
}
.step { padding-top: 2.6rem; position: relative; }
.step__dot {
  position: absolute; top: 0; left: 0;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--line-strong);
  transition: border-color .4s, background-color .4s;
}
.step.is-lit .step__dot { border-color: var(--indigo); background: var(--indigo); box-shadow: inset 0 0 0 3px var(--white); }
.step__n { font-size: .8rem; color: var(--sky-deep); font-weight: 500; }
.step h3 {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(1.3rem, 1.1rem + .6vw, 1.7rem);
  color: var(--indigo);
  margin: 0 0 .8rem;
}
.step p:last-child { color: var(--gray); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 2.4rem; padding-left: 2.2rem; }
  .steps__line { left: 8px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .steps__line i { transform-origin: top; transform: scaleY(var(--p, 0)); }
  .steps__line b { left: -4px; top: calc(var(--p, 0) * 100%); margin-left: 0; margin-top: -5px; }
  .step { padding-top: 0; }
  .step__dot { left: -2.2rem; top: .15rem; }
}

/* =========================================================
   UNTERNEHMEN (lila)
   ========================================================= */
.section--company {
  background-color: var(--indigo);
  background-image: var(--lila-grain), var(--lila-dots), radial-gradient(45% 55% at 90% 10%, rgba(138, 136, 201, .28), transparent 70%), radial-gradient(40% 50% at 0% 100%, rgba(116, 197, 218, .1), transparent 70%);
  background-size: 180px 180px, 28px 28px, 100% 100%, 100% 100%;
}
.company {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: end;
}
.figure {
  display: flex; align-items: baseline; gap: 1.4rem;
  padding-block: 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}
.figure:first-child { border-top: 1px solid rgba(255, 255, 255, .16); }
.figure__num {
  font-family: var(--f-display); font-weight: 300;
  font-size: clamp(2.8rem, 2rem + 3vw, 4.6rem);
  line-height: 1;
  min-width: 1.4em;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}
.figure__label { color: rgba(255, 255, 255, .78); }

.values {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: clamp(3.5rem, 7vw, 6rem);
}
.value {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  overflow: hidden; isolation: isolate;
}
.value svg {
  width: 44px; height: 44px; margin-bottom: 1.6rem;
  fill: none; stroke: var(--lilac-soft); stroke-width: 1.6; stroke-linecap: round;
}
.value h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.25rem; color: var(--white); margin-bottom: .7rem; hyphens: manual; }
.value p { color: rgba(255, 255, 255, .76); }
@media (max-width: 900px) {
  .company { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .value { padding: 1.5rem; }
  .value svg { width: 38px; height: 38px; margin-bottom: 1.1rem; }
  .figure { gap: 1rem; }
  .footer__row { padding-block: 2.2rem; }
  .footer__logo { height: 46px; }
}

/* =========================================================
   FAQ (weiß)
   ========================================================= */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.faq__intro { position: sticky; top: calc(var(--header-h) + 2rem); }
.faq__intro .btn { margin-top: 2.2rem; }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.35rem 0;
  cursor: pointer;
  list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary h3 {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(1.02rem, .95rem + .35vw, 1.25rem);
  line-height: 1.3;
  color: var(--indigo);
  text-wrap: balance;
  transition: color .25s;
}
.qa summary:hover h3 { color: var(--lilac); }
.qa summary i {
  position: relative; flex: none;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  transition: background-color .3s, border-color .3s, transform .5s var(--ease-out);
}
.qa summary i::before, .qa summary i::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 12px; height: 1.5px; margin: -.75px 0 0 -6px;
  background: var(--indigo);
  transition: transform .5s var(--ease-out), background-color .3s;
}
.qa summary i::after { transform: rotate(90deg); }
.qa[open] summary i { background: var(--indigo); border-color: var(--indigo); transform: rotate(180deg); }
.qa[open] summary i::before, .qa[open] summary i::after { background: var(--white); }
.qa[open] summary i::after { transform: rotate(0deg); }
.qa__a { padding: 0 3.6rem 1.5rem 0; }
.qa__a p { color: var(--gray); }
.qa[open] .qa__a { animation: qa-open .5s var(--ease-out); }
@keyframes qa-open { from { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 900px) {
  .faq { grid-template-columns: 1fr; }
  .faq__intro { position: static; }
  .qa__a { padding-right: 0; }
}

/* =========================================================
   KONTAKT (Indigo-Sektion, weißes Formular)
   ========================================================= */
.section--contact {
  background-color: var(--indigo);
  background-image: var(--lila-grain), var(--lila-dots), radial-gradient(50% 60% at 85% 30%, rgba(138, 136, 201, .3), transparent 70%);
  background-size: 180px 180px, 28px 28px, 100% 100%;
  isolation: isolate;
  overflow: hidden;
}
/* WebGL-Hintergrund (Ringe im Kontakt), transparent über dem Verlauf */
.fx-shader {
  position: absolute; inset: 0; z-index: -1;
  width: 100%; height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s var(--ease-out);
}
.fx-shader.is-ready { opacity: 1; }
.contact {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 6vw, 6rem);
}
.channels { margin-top: 2.6rem; display: grid; }
.channels li {
  display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem;
  padding-block: 1.1rem; border-bottom: 1px solid rgba(255, 255, 255, .16);
}
.channels li:first-child { border-top: 1px solid rgba(255, 255, 255, .16); }
.channels span { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255, 255, 255, .55); padding-top: .25rem; }
.channels a, .channels address {
  font-style: normal; font-size: 1.1rem; color: var(--white);
  overflow-wrap: anywhere;
}
.channels a {
  background: linear-gradient(var(--sky), var(--sky)) 0 100% / 0 1px no-repeat;
  transition: background-size .5s var(--ease-out), color .3s;
}
.channels a:hover { background-size: 100% 1px; color: var(--sky); }

.form {
  padding: clamp(1.4rem, 3vw, 2.6rem);
  border-radius: 26px;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, .6);
  color: var(--petrol);
  box-shadow: 0 40px 90px -40px rgba(20, 19, 45, .7), inset 0 1px 0 rgba(255, 255, 255, .8);
  display: grid; gap: 1rem;
  align-self: start;
}
.chips { border: 0; margin: 0 0 .6rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips legend { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--slate); margin-bottom: .8rem; padding: 0; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .55rem .95rem; border-radius: 999px;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  font-size: .9rem; color: var(--gray);
  transition: all .3s var(--ease-out);
}
.chips span::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--line-strong); transition: background-color .3s;
}
.chips input:checked + span { border-color: var(--indigo); color: var(--white); background: var(--indigo); }
.chips input:checked + span::before { background: var(--white); }
.chips input:focus-visible + span { outline: 2px solid var(--sky); outline-offset: 2px; }
.chips label:active span { transform: scale(.96); }

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%;
  padding: 1.55rem 1rem .6rem;
  border-radius: 12px;
  border: 1px solid var(--light-2);
  background: var(--light);
  color: var(--petrol);
  outline: none;
  transition: border-color .3s, box-shadow .3s, background-color .3s;
  resize: vertical;
}
.field label {
  position: absolute; left: 1rem; top: 1.1rem;
  color: var(--slate); pointer-events: none;
  transform-origin: left top;
  transition: transform .35s var(--ease-out), color .3s;
}
.field input:focus, .field textarea:focus { border-color: var(--indigo); background: var(--white); box-shadow: 0 0 0 4px rgba(71, 70, 116, .12); }
.field input:focus + label, .field textarea:focus + label,
.field input:not(:placeholder-shown) + label, .field textarea:not(:placeholder-shown) + label {
  transform: translateY(-.62rem) scale(.74); color: var(--indigo);
}
.field.invalid input, .field.invalid textarea { border-color: var(--danger); }
.field.invalid label { color: var(--danger); }
.form__foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: .4rem; flex-wrap: wrap; }
.form__note { font-size: .82rem; color: var(--slate); max-width: 36ch; }
.form__note a { color: var(--indigo); text-decoration: underline; text-underline-offset: 2px; }
.form__status { font-size: .8rem; min-height: 1.2em; color: var(--indigo); }
.form__status.err { color: var(--danger); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .form__row { grid-template-columns: 1fr; }
  .form__foot .btn { width: 100%; justify-content: center; }
  .channels li { grid-template-columns: 1fr; gap: .2rem; }
}

/* =========================================================
   FOOTER (weiß, lila Abschluss-Streifen)
   ========================================================= */
.footer {
  position: relative;
  background: var(--white);
}
/* Drei gleich breite Außenspalten: die Links stehen genau in der Seitenmitte, egal wie breit Logo und Copyright sind */
.footer__row {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem 2.5rem;
  padding-block: 2.8rem;
}
.footer__logo { height: 56px; width: auto; justify-self: start; }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.4rem; }
.footer__copy { justify-self: end; text-align: right; }
/* Handy und Tablet (bis 1023 px wie das Burger-Menü): alles untereinander und mittig */
@media (max-width: 1023px) {
  .footer__row { grid-template-columns: 1fr; justify-items: center; gap: .6rem; }
  .footer__logo, .footer__copy { justify-self: center; text-align: center; }
}
.footer__nav a { color: var(--gray); font-size: .92rem; transition: color .25s; }
.footer__nav a:hover { color: var(--indigo); }
.footer__copy { font-size: .74rem; color: var(--slate); }
.footer::after { content: ""; display: block; height: .5rem; background: var(--indigo); }

/* =========================================================
   Unterseiten (Impressum, Datenschutz)
   ========================================================= */
.legal { padding-top: calc(var(--header-h) + clamp(3rem, 8vw, 6rem)); padding-bottom: 6rem; background: var(--white); }
.legal .wrap { max-width: 860px; }
.legal h1 {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(2.2rem, 1.6rem + 3vw, 4rem);
  letter-spacing: -.02em; line-height: 1.05;
  color: var(--indigo);
  margin: 1.2rem 0 3rem;
}
.legal h2 { font-family: var(--f-display); font-weight: 400; font-size: 1.25rem; color: var(--indigo); margin: 2.8rem 0 .9rem; }
.legal p, .legal li { color: var(--gray); }
.legal a { color: var(--indigo); text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.legal h3 { font-family: var(--f-body); font-weight: 600; font-size: 1.05rem; color: var(--petrol); margin: 1.8rem 0 .6rem; }
.legal p + p, .legal p + ul, .legal ul + p { margin-top: .9rem; }
.legal ul { list-style: disc; padding-left: 1.3rem; margin-top: .6rem; }
.legal li + li { margin-top: .35rem; }
.legal .stand { margin-top: 3rem; font-size: .9rem; color: var(--slate); }

/* Aufklappbare Kapitel der Datenschutzerklärung (natives <details>, Symbol wie bei den FAQ) */
.akk { border-top: 1px solid var(--line); }
.akk:last-of-type { border-bottom: 1px solid var(--line); }
.akk summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.35rem 0; cursor: pointer; list-style: none;
}
.akk summary::-webkit-details-marker { display: none; }
.legal .akk summary h2 { margin: 0; display: flex; align-items: baseline; gap: 1rem; transition: color .25s; }
.akk summary:hover h2 { color: var(--lilac); }
.akk summary:focus-visible { outline: 2px solid var(--indigo); outline-offset: 4px; border-radius: 4px; }
.akk__nr { font-family: var(--f-mono); font-size: .8rem; color: var(--slate); font-variant-numeric: tabular-nums; }
.akk summary i {
  position: relative; flex: none;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  transition: background-color .3s, border-color .3s, transform .5s var(--ease-out);
}
.akk summary i::before, .akk summary i::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 12px; height: 1.5px; margin: -.75px 0 0 -6px;
  background: var(--indigo);
  transition: transform .5s var(--ease-out), background-color .3s;
}
.akk summary i::after { transform: rotate(90deg); }
.akk[open] summary i { background: var(--indigo); border-color: var(--indigo); transform: rotate(180deg); }
.akk[open] summary i::before, .akk[open] summary i::after { background: var(--white); }
.akk[open] summary i::after { transform: rotate(0deg); }
.akk__body { padding: 0 0 2rem; }
.akk__body > h3:first-child { margin-top: .4rem; }
.akk[open] .akk__body { animation: qa-open .5s var(--ease-out); }
@media (prefers-reduced-motion: reduce) { .akk[open] .akk__body { animation: none; } }
.legal .facts {
  display: grid; grid-template-columns: 12rem 1fr; gap: .6rem 1.5rem;
  padding: 1.6rem; border-radius: 18px;
  background: var(--light);
}
.legal .facts dt { font-family: var(--f-mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--slate); padding-top: .2rem; }
.legal .facts dd { margin: 0; color: var(--petrol); }
@media (max-width: 600px) { .legal .facts { grid-template-columns: 1fr; gap: .1rem; } .legal .facts dd { margin-bottom: .8rem; } }

/* =========================================================
   KARRIERE (eigene Seite)
   ========================================================= */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 6rem));
  padding-bottom: clamp(5rem, 9vw, 8rem);
  background: var(--white);
}
.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.page-hero__text { container-type: inline-size; }
.page-hero__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 1.2rem + 4.6vw, 5.4rem);
  line-height: 1;
  letter-spacing: -.035em;
  color: var(--indigo);
  margin-top: 1.25rem;
}
.team-visual {
  margin: 0;
  aspect-ratio: 13 / 11;
  padding: clamp(1rem, 3vw, 2.2rem);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 40px 80px -45px rgba(53, 52, 87, .6);
}
.ill .lbl { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; fill: rgba(255, 255, 255, .55); stroke: none; }
.ill .lbl--a { fill: var(--sky); }
.values--flush { margin-top: 0; }
/* Untertitel in der Hauptüberschrift einer Unterseite (z. B. die drei Luxusgüter-Bereiche) */
.page-hero__sub {
  display: block;
  margin-top: .9rem;
  font-size: clamp(1.25rem, 1rem + 1.1vw, 2rem);
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--slate);
}
/* Einstieg ohne Grafik (SaaS, Software & KI, Unternehmen, Kontakt) und Einstieg, in dem der Inhalt direkt weiterläuft (SaaS, FAQ) */
.page-hero--solo { padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.page-hero--solo .page-hero__text { max-width: 54rem; }
.page-hero--flow .section__head { container-type: inline-size; }
.page-hero--flow .page-hero__title, .page-hero__title--lang { font-size: clamp(2.2rem, 1rem + 3.6vw, 4.4rem); }
.page-hero--flow .faq__intro { top: calc(var(--header-h) + 2rem); }

/* Übergang zur Kontaktseite am Ende einer Unterseite */
.section--next { padding-block: clamp(4.5rem, 8vw, 7rem); }
.next {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 2rem 3rem;
}
/* flex-basis nötig: container-type nimmt dem Block seine Eigenbreite */
.next__text { flex: 1 1 26rem; max-width: 44rem; container-type: inline-size; }
.next .h2 { margin-top: 1rem; }
.next__text .section__lead { margin-top: 1rem; }
.next--inline {
  margin-top: clamp(3.5rem, 7vw, 6rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid rgba(255, 255, 255, .16);
}
@media (max-width: 560px) {
  .next .btn { width: 100%; justify-content: center; }
}

/* dezenter Verweis in einer Leistungskarte auf die passende Unterseite */
.card__more {
  display: inline-flex; align-items: center; gap: .4rem; align-self: flex-start;
  min-height: 44px; margin-top: .8rem;
  font-weight: 600; font-size: .95rem; color: var(--indigo);
  background: linear-gradient(var(--sky), var(--sky)) 0 80% / 0 1px no-repeat;
  transition: background-size .5s var(--ease-out);
}
.card__more:hover { background-size: 100% 1px; }
.card__more span { transition: transform .4s var(--ease-out); }
.card__more:hover span { transform: translateX(3px); }

.jobs { display: grid; gap: 1rem; }
.job {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: border-color .4s, box-shadow .5s var(--ease-out), transform .5s var(--ease-out), opacity .6s var(--ease-out);
}
.job.is-in:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.job__body { container-type: inline-size; }
.job__meta { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--slate); }
.job__title {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(1.3rem, 1.1rem + .7vw, 1.75rem);
  color: var(--indigo);
  margin: .6rem 0 .7rem;
}
.job p.text { color: var(--gray); max-width: 62ch; }
.job--open { border-style: dashed; border-color: var(--line-strong); background: var(--light); box-shadow: none; }
@media (max-width: 680px) {
  .job { grid-template-columns: 1fr; gap: 1.4rem; }
  .job__cta { justify-content: center; }
}

.apply {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.apply__info { container-type: inline-size; }
.apply__note { margin-top: 1.6rem; font-size: .92rem; color: rgba(255, 255, 255, .62); }
.apply__note a { color: var(--white); text-decoration: underline; text-underline-offset: 2px; }
.apply__steps { list-style: none; margin: 0; padding: 0; }
.apply__steps li {
  display: grid; grid-template-columns: 3.4rem minmax(0, 1fr); gap: 1rem;
  padding-block: 1.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}
.apply__steps li:first-child { border-top: 1px solid rgba(255, 255, 255, .16); }
.apply__num {
  display: grid; place-items: center;
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  font-size: .78rem; color: var(--sky);
}
.apply__steps h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.3rem; color: var(--white); margin: .35rem 0 .5rem; }
.apply__steps p { color: rgba(255, 255, 255, .76); }
@media (max-width: 900px) {
  .page-hero__grid, .apply { grid-template-columns: 1fr; }
  .team-visual { max-width: 560px; }
}
@media (max-width: 560px) {
  .hero__actions .btn { justify-content: center; }
  .page-hero__text .hero__actions { flex-direction: column; }
  .apply__steps li { grid-template-columns: 2.8rem minmax(0, 1fr); }
  .apply__num { width: 2.2rem; height: 2.2rem; }
}

/* =========================================================
   HANDY-FEINSCHLIFF (geprüft bei 360, 390, 430 und 768 px)
   ========================================================= */
/* Aktuelle Seite im Handy-Menü kennzeichnen, wie in der Kopfleiste */
.mobile-nav > a[aria-current="page"] { color: var(--sky-deep); }
/* Niedrige Bildschirme: Menüpunkte enger, damit möglichst alles ohne Scrollen passt */
@media (max-width: 1023px) and (max-height: 900px) {
  .mobile-nav > a { padding: .6rem 0; font-size: 1.3rem; }
}
@media (max-width: 1023px) and (max-height: 720px) {
  .mobile-nav > a { padding: .6rem 0; font-size: 1.3rem; }
  .mobile-nav__foot { padding-top: 1.2rem; gap: .6rem; }
}
/* Gilt für alle Breiten mit Handy-Menü, also auch Tablets bis 1023 px */
@media (max-width: 1023px) {
  /* Tippflächen mindestens 44 px hoch */
  .channels a { display: inline-flex; align-items: center; min-height: 44px; background-position: 0 85%; }
  .footer__nav { gap: 0 .2rem; margin-inline: -.6rem; }
  .footer__nav a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: .6rem; font-size: .95rem; }
  /* nichts unter 12 px */
  .scroll-hint, .channels span, .chips legend, .job__meta { font-size: .75rem; }
  .footer__copy { font-size: .78rem; }
}
@media (max-width: 560px) {
  /* Lange Titel (Software & KI) laufen ohne erzwungenen Umbruch weiter: 4 statt 5 Zeilen bei gleicher Größe */
  .page-hero__title--lang br { display: none; }
  .page-hero__title--lang .muted::before { content: " "; }
  /* Beschriftung der Team-Grafik wird mit der Grafik verkleinert; in SVG-Einheiten gegenhalten */
  .ill--team .lbl { font-size: 18px; }
}

/* =========================================================
   KOPFLEISTE: Aufklappmenü „Weitere Geschäftsbereiche“
   ========================================================= */
.nav { align-items: center; }
.nav__more { position: relative; }
.nav__toggle {
  position: relative;
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .55rem .95rem;
  font-size: .95rem; font-weight: 500; line-height: inherit;
  color: var(--gray);
  background: none; border: 0; border-radius: 999px;
  cursor: pointer;
  transition: color .25s, background-color .25s;
}
.nav__toggle svg {
  width: 11px; height: 11px;
  fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .4s var(--ease-out);
}
.nav__toggle:hover, .nav__more.is-open .nav__toggle { color: var(--indigo); background: var(--light); }
.nav__more.is-open .nav__toggle svg { transform: rotate(180deg); }
.nav__toggle.is-active { color: var(--indigo); }
.nav__toggle.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: .15rem;
  width: 16px; height: 2px; border-radius: 2px;
  background: var(--sky); transform: translateX(-50%);
}
.header[data-nav="dark"] .nav__toggle { color: rgba(255, 255, 255, .78); }
.header[data-nav="dark"] .nav__toggle:hover,
.header[data-nav="dark"] .nav__more.is-open .nav__toggle,
.header[data-nav="dark"] .nav__toggle.is-active { color: var(--white); background: rgba(255, 255, 255, .1); }
.nav__panel {
  position: absolute; top: calc(100% + .6rem); right: 0;
  width: 19rem;
  padding: .5rem;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 24px 60px -24px rgba(20, 19, 45, .45), 0 0 0 1px var(--line);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .25s var(--ease-out), transform .35s var(--ease-out), visibility 0s linear .35s;
}
/* unsichtbare Brücke über den Abstand, damit die Maus das Menü erreicht */
.nav__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -.7rem; height: .7rem; }
.nav__more.is-open .nav__panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav__panel-head {
  padding: .55rem .8rem .35rem;
  font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--slate);
}
.header .nav .nav__panel a.nav__sub {
  display: grid; gap: .15rem;
  padding: .75rem .8rem;
  border-radius: 12px;
  color: var(--indigo); background: transparent;
}
.header .nav .nav__panel a.nav__sub:hover,
.header .nav .nav__panel a.nav__sub:focus-visible { background: var(--light); color: var(--indigo); }
.nav__sub b { font-family: var(--f-display); font-weight: 400; font-size: 1rem; line-height: 1.3; }
.nav__sub span { font-size: .85rem; line-height: 1.4; color: var(--gray); }
.header .nav .nav__panel a.nav__sub[aria-current="page"] b { color: var(--sky-deep); }
/* acht Einträge: zwischen Handy-Ansicht und großem Bildschirm enger setzen */
.nav a, .nav__toggle { white-space: nowrap; }
@media (max-width: 1300px) {
  .nav__toggle { padding: .5rem .7rem; font-size: .9rem; }
}
@media (max-width: 1100px) {
  .header__inner { gap: .8rem; }
  .nav a, .nav__toggle { padding-inline: .55rem; font-size: .86rem; }
  .header__cta { --pad-x: 1rem; }
}
/* großes Logo oben auf der Seite würde sonst in den ersten Menüpunkt ragen */
@media (min-width: 1024px) and (max-width: 1180px) {
  .header:not(.is-scrolled):not(.menu-open) .brand { transform: scale(1.15); }
}

/* Handy-Menü: Unterpunkte der weiteren Geschäftsbereiche */
.mobile-nav__group { padding: .8rem 0 .5rem; border-bottom: 1px solid var(--line); }
.mobile-nav__label { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--slate); }
.mobile-nav__group a {
  display: flex; align-items: center; min-height: 44px;
  margin-top: .15rem; padding-left: 1rem;
  border-left: 1px solid var(--line-strong);
  font-family: var(--f-display); font-size: 1.1rem; color: var(--indigo);
}
.mobile-nav__group a[aria-current="page"] { color: var(--sky-deep); }
@media (max-width: 1023px) and (max-height: 720px) {
  .mobile-nav > a { padding: .6rem 0; font-size: 1.15rem; line-height: 1.35; }
  /* die beiden Unterpunkte nebeneinander, spart eine Zeile, damit alles ohne Scrollen passt */
  .mobile-nav__group { display: grid; grid-template-columns: 1fr 1fr; column-gap: .6rem; padding: .45rem 0 .25rem; }
  .mobile-nav__label { grid-column: 1 / -1; }
  .mobile-nav__group a { font-size: .95rem; line-height: 1.2; margin-top: 0; padding-left: .7rem; }
  .mobile-nav { padding-top: calc(var(--header-h) + .5rem); padding-bottom: .25rem; }
  .mobile-nav__foot { padding-top: .6rem; gap: .2rem; }
}

/* =========================================================
   SOFTWARE & KI (lila, zwei große weiße Karten wie bei den Leistungen)
   ========================================================= */
.dev {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}
.dev .card { grid-column: auto; }
.dev .card__media { aspect-ratio: 2 / 1; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; padding-top: 1.2rem; }
.tags li {
  font-family: var(--f-mono); font-size: .75rem;
  padding: .3rem .7rem; border-radius: 999px;
  background: var(--light); color: var(--indigo);
}
@media (max-width: 900px) {
  .dev { grid-template-columns: 1fr; }
  .dev .card__media { aspect-ratio: 16 / 9; }
}

/* =========================================================
   SAAS-PROJEKTE (weiß, Auswahl nach Projektart)
   ========================================================= */
.proj {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}
.proj__tabs { display: grid; gap: .45rem; }
.proj__group {
  margin: .9rem 0 .1rem .2rem;
  font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--slate);
}
.proj__group:first-child { margin-top: 0; }
.proj__tab {
  display: grid; gap: .2rem;
  min-height: 44px;
  padding: .85rem 1.1rem;
  text-align: left;
  border: 1px solid var(--line); border-radius: 16px;
  background: var(--white);
  cursor: pointer;
  transition: border-color .3s, background-color .3s, box-shadow .4s var(--ease-out);
}
.proj__tab b { font-family: var(--f-display); font-weight: 400; font-size: 1.05rem; line-height: 1.25; color: var(--indigo); transition: color .3s; }
.proj__tab span { font-size: .88rem; line-height: 1.4; color: var(--gray); transition: color .3s; }
.proj__tab:hover { border-color: var(--line-strong); background: var(--light); }
.proj__tab[aria-selected="true"] {
  background: var(--indigo); border-color: var(--indigo);
  box-shadow: 0 16px 34px -18px rgba(71, 70, 116, .8);
}
.proj__tab[aria-selected="true"] b { color: var(--white); }
.proj__tab[aria-selected="true"] span { color: rgba(255, 255, 255, .78); }
.proj__panel {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}
/* Alle Tafeln liegen übereinander in einer Rasterzelle: der Bereich ist immer so hoch wie die größte
   Tafel, beim Umschalten springt nichts darunter. visibility blendet die inaktiven auch für Tastatur
   und Screenreader aus. */
.proj__panels { display: grid; }
.proj__panel { grid-area: 1 / 1; }
.proj__panel[hidden] { display: block; visibility: hidden; }
.proj__panel:focus-visible { outline-offset: 4px; }
.proj__media { margin: 0; aspect-ratio: 480 / 250; padding: 1rem 0; overflow: hidden; }
.proj__body { padding: clamp(1.3rem, 2.4vw, 2rem); container-type: inline-size; }
.proj__title {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(1.3rem, 1.1rem + .7vw, 1.75rem);
  color: var(--indigo);
  margin-bottom: .7rem;
}
.proj__body > .text { color: var(--gray); }
.proj__cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
  margin-top: 1.4rem; padding-top: 1.3rem;
  border-top: 1px solid var(--line);
}
.proj__label { margin-bottom: .8rem; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--slate); }
.proj__list li { display: flex; align-items: baseline; gap: .6rem; font-size: .96rem; line-height: 1.45; color: var(--petrol); }
.proj__list li + li { margin-top: .55rem; }
.proj__list li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--sky); transform: translateY(-1px); }
.proj .tags { margin-top: 0; padding-top: 0; }
/* Grafik zeichnet sich bei jedem Wechsel neu (Klasse is-drawn setzt main.js) */
.proj .pd {
  stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0;
  transition: stroke-dashoffset 1s var(--ease-soft), opacity .25s;
  transition-delay: calc(100ms + var(--i, 0) * 60ms);
}
.proj .pf { opacity: 0; transition: opacity .6s ease; transition-delay: calc(350ms + var(--i, 0) * 60ms); }
.proj__panel.is-drawn .pd { stroke-dashoffset: 0; opacity: 1; }
.proj__panel.is-drawn .pf { opacity: 1; }
.proj__panel.is-switched .proj__body { animation: proj-in .6s var(--ease-out); }
@keyframes proj-in { from { opacity: 0; transform: translateY(8px); } }
@media (max-width: 900px) {
  .proj { grid-template-columns: 1fr; }
  .proj__tabs { grid-template-columns: 1fr 1fr; gap: .4rem; }
  .proj__group { grid-column: 1 / -1; }
  .proj__tab { padding: .6rem .8rem; align-content: center; }
  .proj__tab b { font-size: .95rem; }
  .proj__tab span { display: none; }
}
@media (max-width: 560px) {
  .proj__cols { grid-template-columns: 1fr; gap: 1.2rem; }
}

/* =========================================================
   SAAS (lila, Umschalter „Klassische Software / SaaS“)
   ========================================================= */
.saas-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.saas-grid__text { container-type: inline-size; }
.saas__note {
  margin-top: 2rem;
  padding: 1.2rem 1.4rem;
  border-left: 2px solid var(--sky);
  background: linear-gradient(90deg, rgba(255, 255, 255, .08), transparent);
  border-radius: 0 14px 14px 0;
  container-type: inline-size;
}
.saas__note h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.1rem; margin-bottom: .5rem; }
.saas__note p { color: rgba(255, 255, 255, .78); }
.saas {
  padding: clamp(.9rem, 2.2vw, 1.5rem);
  border-radius: 26px;
  background: var(--white);
  color: var(--petrol);
  box-shadow: 0 40px 90px -40px rgba(20, 19, 45, .7);
}
.saas__switch {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr;
  padding: 4px;
  border-radius: 999px;
  background: var(--light);
  border: 1px solid var(--line);
}
.saas__switch button {
  position: relative; z-index: 1;
  min-height: 44px; padding: .4rem .8rem;
  border: 0; border-radius: 999px; background: none;
  font-weight: 600; font-size: .95rem; line-height: 1.2;
  color: var(--gray);
  cursor: pointer;
  transition: color .35s;
}
.saas__switch button[aria-selected="true"] { color: var(--white); }
.saas__switch button:focus-visible { outline-offset: -3px; }
.saas__thumb {
  position: absolute; top: 4px; bottom: 4px; left: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: var(--indigo);
  box-shadow: 0 8px 20px -10px rgba(71, 70, 116, .8);
  transition: transform .55s var(--ease-out);
}
.saas[data-mode="saas"] .saas__thumb { transform: translateX(100%); }
.saas__media {
  position: relative;
  margin: 1rem 0 0;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 26 / 15;
  background-color: #37365f;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(160deg, #403f6c, #2e2d52);
  background-size: 24px 24px, 24px 24px, 100% 100%;
  background-position: center;
}
.saas .m-kl, .saas .m-saas { transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.saas[data-mode="saas"] .m-kl, .saas[data-mode="klassisch"] .m-saas { opacity: 0; transform: translateY(10px); }
.saas[data-mode="klassisch"] .m-saas .fl { animation-play-state: paused; }
.saas__list { margin: 1rem 0 0; }
.saas__row {
  display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1rem;
  padding: .75rem .2rem;
  border-top: 1px solid var(--line);
}
.saas__row dt {
  font-family: var(--f-mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--slate); padding-top: .25rem;
}
.saas__row dd { margin: 0; display: grid; font-size: .96rem; line-height: 1.45; }
.saas__row dd > span {
  grid-area: 1 / 1;
  display: flex; align-items: baseline; gap: .6rem;
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-out);
  transition-delay: calc(var(--n, 0) * 50ms);
}
.saas__row dd > span::before {
  content: ""; flex: none;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--line-strong);
  transform: translateY(-1px);
}
.saas__row .v-saas::before { background: var(--sky); }
.saas[data-mode="klassisch"] .v-saas,
.saas[data-mode="saas"] .v-kl {
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .25s, transform .25s, visibility 0s linear .25s;
}
.saas__hint { margin-top: .6rem; font-size: .8rem; color: var(--slate); text-align: center; }
.offers__cta { margin-top: 2.2rem; display: flex; justify-content: center; }
@media (max-width: 900px) {
  .saas-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .saas__row { grid-template-columns: 1fr; gap: .2rem; padding-block: .7rem; }
  .saas__switch button { font-size: .9rem; padding-inline: .5rem; }
}

/* =========================================================
   WEITERE GESCHÄFTSBEREICHE (eigene Unterseiten)
   ========================================================= */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.split__text { container-type: inline-size; }
.split__text .text { color: var(--gray); }
.split__text .text + .text { margin-top: 1.1rem; }
.split__text h3 {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(1.2rem, 1.05rem + .5vw, 1.5rem);
  color: var(--indigo);
  margin: 2.4rem 0 .8rem;
}
.split__text h3:first-child { margin-top: 0; }
.events { margin-top: 1.6rem; border-top: 1px solid var(--line); }
.events li {
  display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); gap: .8rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.events .mono { font-size: .78rem; color: var(--sky-deep); padding-top: .3rem; }
.events b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 1.1rem; color: var(--indigo); }
.events p { color: var(--gray); font-size: .95rem; margin-top: .2rem; }
.it-hint {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  container-type: inline-size;
}
.it-hint h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.3rem; margin: .8rem 0 .6rem; }
.it-hint p.text { color: rgba(255, 255, 255, .78); }
.it-hint .hero__actions { margin-top: 1.6rem; }
.it-hint .btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .35); }
.it-hint .btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: var(--white); }
.ill .sec { transform-box: view-box; transform-origin: 260px 220px; }
.is-in .ill .sec { animation: ill-sec 60s linear infinite; animation-delay: 1.5s; }
@keyframes ill-sec { to { transform: rotate(360deg); } }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
}

/* =========================================================
   Wellen-Übergänge: weiße Wellen liegen innen am oberen und unteren Rand
   jeder lila Fläche (funktioniert auch mit overflow: hidden)
   ========================================================= */
.theme-dark { position: relative; }
.theme-dark::before, .theme-dark::after {
  content: ""; position: absolute; left: 0; right: 0; z-index: 4;
  height: var(--wave-h);
  background-size: 100% 100%; background-repeat: no-repeat;
  pointer-events: none;
}
.theme-dark::before { top: -1px; background-image: var(--wave-top-a); }
.theme-dark::after { bottom: -1px; background-image: var(--wave-bottom-a); }
#saas-erklaert::before, #kontakt::before { background-image: var(--wave-top-b); }
#saas-erklaert::after, #kontakt::after { background-image: var(--wave-bottom-b); }

/* =========================================================
   Reduced Motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .load, .reveal { opacity: 1 !important; transform: none !important; }
  .ill .d, .ill .f, .ill .bdg { transition-delay: 0s !important; }
  .hero__aurora i { animation: none !important; }
  .ill .sec { animation: none !important; }
  .saas__row dd > span { transition-delay: 0s !important; }
  .proj .pd, .proj .pf { transition-delay: 0s !important; }
  .proj__panel.is-drawn .proj__body { animation: none !important; }
}
