/* ============================================================
   EXP-Software & Consulting — Stylesheet
   Reines CSS, kein Build-Schritt. Reihenfolge:
     1. Schriften        6. Karten & Listen
     2. Design-Tokens    7. Hero & Sektionen
     3. Reset & Basis    8. Produkte, Referenzen, Prozess
     4. Layout           9. Formular
     5. Header & Footer 10. Rechtliches, 404, Utilities
   CI-Farben von der Vorgängerseite: Signalorange auf Nahezu-Schwarz.
   ============================================================ */

/* ============================================================
   1. SCHRIFTEN — lokal ausgeliefert, keine Verbindung zu Google
   ============================================================ */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../assets/fonts/space-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../assets/fonts/space-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("../assets/fonts/jetbrains-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("../assets/fonts/jetbrains-mono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ============================================================
   2. DESIGN-TOKENS
   ============================================================ */

:root {
  /* Marke — Werte aus der bestehenden CI */
  --c-brand: #ffa800;
  --c-brand-light: #ffb400;
  --c-brand-deep: #ff9000;
  --c-brand-ink: #1a1200;
  --c-accent: #00a8e9;
  --gradient-brand: linear-gradient(135deg, var(--c-brand-light) 0%, var(--c-brand-deep) 100%);

  /* Flächen */
  --c-bg: #0b0b0c;
  --c-bg-alt: #111113;
  --c-surface: #151517;
  --c-surface-2: #1c1c20;
  --c-surface-3: #232328;
  --c-border: #26262b;
  --c-border-strong: #35353d;

  /* Text */
  --c-text: #f3f0ec;
  --c-text-muted: #a3a2a8;
  --c-text-dim: #74737c;

  /* Rückmeldung */
  --c-success: #3ecf8e;
  --c-danger: #ff5c5c;

  /* Typografie */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Consolas", monospace;

  --fs-eyebrow: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: clamp(1.25rem, 0.5vw + 1.1rem, 1.5rem);
  --fs-h3: clamp(1.35rem, 1vw + 1.1rem, 1.75rem);
  --fs-h2: clamp(1.85rem, 2.2vw + 1.1rem, 3rem);
  --fs-h1: clamp(2.35rem, 4.6vw + 1rem, 4.5rem);

  /* Raum und Form */
  --gutter: 1.25rem;
  --container-max: 1240px;
  --section-y: clamp(4rem, 9vw, 7.5rem);

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --r-xl: 22px;
  --r-pill: 999px;

  --shadow-md: 0 12px 30px -12px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 30px 70px -25px rgba(0, 0, 0, 0.85);
  --glow-brand: 0 0 0 1px rgba(255, 168, 0, 0.35), 0 14px 40px -14px rgba(255, 144, 0, 0.55);

  --header-h: 72px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  color-scheme: dark;
}

@media (min-width: 768px) {
  :root {
    --gutter: 2rem;
    --header-h: 84px;
  }
}

/* ============================================================
   3. RESET & BASIS
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

main {
  flex: 1;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: var(--fs-h1);
  letter-spacing: -0.035em;
}

h2 {
  font-size: var(--fs-h2);
  letter-spacing: -0.03em;
}

h3 {
  font-size: var(--fs-h3);
}

p {
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--c-brand);
  color: var(--c-brand-ink);
}

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: var(--c-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--c-surface-3);
  border: 3px solid var(--c-bg);
  border-radius: var(--r-pill);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--c-border-strong);
}

/* Einheitlicher, gut sichtbarer Tastaturfokus (WCAG 2.4.7) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--c-brand);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* ============================================================
   4. LAYOUT
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: var(--section-y);
}

.section--alt {
  background: var(--c-bg-alt);
  border-block: 1px solid var(--c-border);
}

/* Blaupausen-Raster als Hintergrund technischer Sektionen */
.section--grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 78%);
  pointer-events: none;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  translate: -50% -120%;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--c-brand);
  color: var(--c-brand-ink);
  font-weight: 600;
  border-radius: 0 0 var(--r-md) var(--r-md);
  transition: translate 0.2s var(--ease-out);
}

.skip-link:focus-visible {
  translate: -50% 0;
  outline: none;
}

/* Abschnittsüberschrift */
.section-head {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-bottom: clamp(2.25rem, 4vw, 3.5rem);
}

@media (min-width: 1024px) {
  .section-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 3rem;
  }
}

.section-head__text {
  max-width: 60ch;
}

.section-head__lead {
  margin-top: 1.15rem;
  font-size: var(--fs-lg);
  line-height: 1.7;
  color: var(--c-text-muted);
  max-width: 60ch;
}

.section-head__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  flex: none;
}

/* Monospace-Kennzeichnung über Überschriften */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-brand);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--gradient-brand);
  flex: none;
}

/* ============================================================
   5. BUTTONS & BADGES
   ============================================================ */

.btn {
  --btn-h: 46px;
  --btn-px: 1.4rem;

  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  height: var(--btn-h);
  padding-inline: var(--btn-px);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  transition:
    background-color 0.2s var(--ease-out),
    border-color 0.2s var(--ease-out),
    color 0.2s var(--ease-out),
    box-shadow 0.25s var(--ease-out),
    transform 0.15s var(--ease-out);
}

.btn:active {
  transform: translateY(1px);
}

.btn:disabled {
  opacity: 0.45;
  pointer-events: none;
}

.btn svg {
  width: 1.05em;
  height: 1.05em;
  flex: none;
}

.btn__icon--trailing {
  transition: transform 0.25s var(--ease-out);
}

.btn:hover .btn__icon--trailing {
  transform: translateX(3px);
}

.btn--primary {
  background: var(--gradient-brand);
  color: var(--c-brand-ink);
  box-shadow: 0 10px 24px -14px rgba(255, 144, 0, 0.9);
}

.btn--primary:hover {
  box-shadow: var(--glow-brand);
  filter: brightness(1.06);
}

.btn--outline {
  background: transparent;
  color: var(--c-text);
  border-color: var(--c-border-strong);
}

.btn--outline:hover {
  background: var(--c-surface-2);
  border-color: var(--c-brand);
  color: var(--c-brand);
}

.btn--lg {
  --btn-h: 56px;
  --btn-px: 1.9rem;

  font-size: 1.02rem;
}

.btn--sm {
  --btn-h: 38px;
  --btn-px: 1rem;

  font-size: 0.85rem;
}

.btn--block {
  width: 100%;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.34em 0.85em;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  white-space: nowrap;
}

.badge--brand {
  background: rgba(255, 168, 0, 0.11);
  border-color: rgba(255, 168, 0, 0.32);
  color: var(--c-brand);
}

.badge--cyan {
  background: rgba(0, 168, 233, 0.11);
  border-color: rgba(0, 168, 233, 0.32);
  color: var(--c-accent);
}

.badge--outline {
  background: transparent;
  border-color: var(--c-border-strong);
  color: var(--c-text-muted);
}

.badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
  animation: badge-pulse 2.2s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.55;
  }
}

/* ============================================================
   6. HEADER
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 11, 12, 0.78);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.3s var(--ease-out),
    background-color 0.3s var(--ease-out);
}

.site-header.is-scrolled {
  background: rgba(11, 11, 12, 0.94);
  border-bottom-color: var(--c-border);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: none;
  border-radius: var(--r-md);
}

.logo__mark {
  width: 42px;
  height: auto;
  flex: none;
  transition: filter 0.25s var(--ease-out);
}

.logo:hover .logo__mark {
  filter: drop-shadow(0 0 12px rgba(255, 168, 0, 0.45));
}

.logo__text {
  fill: var(--c-brand-ink);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
}

.logo__words {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
  font-family: var(--font-display);
}

.logo__name {
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--c-text);
}

.logo__sub {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-text-dim);
}

@media (min-width: 768px) {
  .logo__mark {
    width: 46px;
  }
}

/* Hauptnavigation (Desktop) */
.main-nav {
  display: none;
}

@media (min-width: 1024px) {
  .main-nav {
    display: block;
  }
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--c-text-muted);
  border-radius: var(--r-md);
  transition:
    color 0.2s var(--ease-out),
    background-color 0.2s var(--ease-out);
}

.nav-link:hover {
  color: var(--c-text);
  background: var(--c-surface-2);
}

.nav-link.is-active {
  color: var(--c-brand);
}

.nav-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s var(--ease-out);
}

.nav-item:hover .nav-link svg {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  width: 330px;
  padding: 0.5rem;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity 0.22s var(--ease-out),
    transform 0.22s var(--ease-out),
    visibility 0.22s;
}

/* Zeigerbrücke, damit das Menü beim Hinuntergehen nicht schließt */
.nav-dropdown::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: -0.6rem;
  height: 0.6rem;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.nav-sub-link {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.7rem 0.85rem;
  border-radius: var(--r-md);
  transition: background-color 0.18s var(--ease-out);
}

.nav-sub-link:hover {
  background: var(--c-surface-2);
}

.nav-sub-name {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--c-text);
  transition: color 0.18s var(--ease-out);
}

.nav-sub-link:hover .nav-sub-name {
  color: var(--c-brand);
}

.nav-sub-desc {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--c-text-dim);
}

/* Kopfzeilen-Aktionen */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: none;
}

.header-phone {
  display: none;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--c-text-muted);
  border-radius: var(--r-md);
  transition: color 0.2s var(--ease-out);
}

.header-phone svg {
  width: 15px;
  height: 15px;
  color: var(--c-brand);
}

.header-phone:hover {
  color: var(--c-text);
}

@media (min-width: 1280px) {
  .header-phone {
    display: inline-flex;
  }
}

.header-cta {
  display: none;
}

@media (min-width: 768px) {
  .header-cta {
    display: inline-flex;
  }
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--c-text);
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  transition:
    border-color 0.2s var(--ease-out),
    color 0.2s var(--ease-out);
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
}

.nav-toggle:hover {
  border-color: var(--c-brand);
  color: var(--c-brand);
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.nav-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }
}

/* Mobile Schublade */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.5rem var(--gutter) 2.5rem;
  background: var(--c-bg);
  border-top: 1px solid var(--c-border);
  overflow-y: auto;
  overscroll-behavior: contain;
  animation: drawer-in 0.28s var(--ease-out);
}

.mobile-nav[hidden] {
  display: none;
}

@media (min-width: 1024px) {
  .mobile-nav {
    display: none;
  }
}

@keyframes drawer-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.mobile-nav__item {
  border-bottom: 1px solid var(--c-border);
}

.mobile-nav__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav__link {
  flex: 1;
  padding: 1.05rem 0.25rem;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--c-text);
}

.mobile-nav__link.is-active {
  color: var(--c-brand);
}

.mobile-nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--c-text-dim);
  border-radius: var(--r-md);
  transition:
    transform 0.25s var(--ease-out),
    color 0.2s var(--ease-out);
}

.mobile-nav__toggle svg {
  width: 20px;
  height: 20px;
}

.mobile-nav__toggle[aria-expanded="true"] {
  transform: rotate(180deg);
  color: var(--c-brand);
}

.mobile-nav__sub {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0 0 1rem 1rem;
  margin-left: 0.25rem;
  border-left: 2px solid var(--c-border);
}

.mobile-nav__sub[hidden] {
  display: none;
}

.mobile-nav__sub a {
  display: block;
  padding: 0.6rem 0.5rem;
  font-size: 1rem;
  color: var(--c-text-muted);
  border-radius: var(--r-sm);
}

.mobile-nav__sub a:hover {
  color: var(--c-brand);
}

.mobile-nav__foot {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav__phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  color: var(--c-text-muted);
  border-radius: var(--r-md);
}

.mobile-nav__phone svg {
  width: 16px;
  height: 16px;
  color: var(--c-brand);
}

/* ============================================================
   7. FOOTER
   ============================================================ */

.site-footer {
  position: relative;
  margin-top: auto;
  padding-block: clamp(3rem, 6vw, 5rem) 2rem;
  background: var(--c-bg-alt);
  border-top: 1px solid var(--c-border);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: -1px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--c-brand) 30%,
    var(--c-brand-deep) 55%,
    transparent
  );
  opacity: 0.55;
}

.footer-grid {
  display: grid;
  gap: 2.75rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.7fr 1fr 1fr 1fr;
    gap: 3.5rem;
  }

  .footer-brand {
    grid-column: auto;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-brand > .logo {
  align-self: flex-start;
}

.footer-brand__text {
  max-width: 38ch;
  color: var(--c-text-muted);
  font-size: var(--fs-sm);
  line-height: 1.7;
}

.footer-address {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  font-style: normal;
}

.footer-address p {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  line-height: 1.6;
}

.footer-address svg {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: var(--c-brand);
}

.footer-address a:hover {
  color: var(--c-brand);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-col__title {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-text-dim);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col a {
  display: inline-block;
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  border-radius: var(--r-sm);
  transition:
    color 0.18s var(--ease-out),
    transform 0.18s var(--ease-out);
}

.footer-col a:hover {
  color: var(--c-brand);
  transform: translateX(2px);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--c-border);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-bottom p {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--c-text-dim);
}

/* ============================================================
   8. HERO (Startseite)
   ============================================================ */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 8vw, 7rem) clamp(4rem, 8vw, 7.5rem);
  isolation: isolate;
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero__grid {
  position: absolute;
  inset: -10% -10% 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 25%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 65% at 50% 25%, #000 10%, transparent 75%);
}

.hero__glow {
  position: absolute;
  top: -22%;
  left: 50%;
  width: min(1050px, 130%);
  aspect-ratio: 1.6;
  translate: -50% 0;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 168, 0, 0.16) 0%,
    rgba(255, 144, 0, 0.06) 38%,
    transparent 68%
  );
  filter: blur(12px);
}

.hero__glow--cyan {
  top: auto;
  left: auto;
  right: -12%;
  bottom: -30%;
  translate: none;
  width: min(620px, 85%);
  aspect-ratio: 1;
  background: radial-gradient(circle at center, rgba(0, 168, 233, 0.13) 0%, transparent 62%);
  filter: blur(20px);
}

.hero__inner {
  display: grid;
  gap: clamp(3rem, 6vw, 4.5rem);
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 4rem;
  }
}

.hero__content {
  max-width: 46rem;
}

.hero__badge {
  margin-bottom: 1.5rem;
}

.hero h1 {
  margin-bottom: 1.5rem;
}

/* Markenverlauf im Fliesstext */
.text-accent {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.hero__lead {
  max-width: 58ch;
  font-size: var(--fs-lg);
  line-height: 1.72;
  color: var(--c-text-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.25rem;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.25rem 2rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--c-border);
}

.hero__stat {
  display: flex;
  flex-direction: column-reverse;
  gap: 0.3rem;
}

.hero__stat dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--c-text);
}

.hero__stat dt {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--c-text-dim);
}

/* Signalketten-Panel */
.hero__visual {
  display: none;
}

@media (min-width: 1024px) {
  .hero__visual {
    display: block;
  }
}

.panel {
  position: relative;
  padding: 1.5rem;
  background: linear-gradient(160deg, #1a1712 0%, var(--c-surface) 55%);
  border: 1px solid var(--c-border-strong);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
}

.panel__head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 1.1rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--c-border);
}

.panel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-success);
  box-shadow: 0 0 10px var(--c-success);
  animation: blink 2.4s ease-in-out infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

.panel__title {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-text-dim);
}

.panel__head svg {
  width: 16px;
  height: 16px;
  color: var(--c-brand);
}

.chain {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.chain__node {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
}

/* Verbinder zwischen den Stufen */
.chain__node + .chain__node::before {
  content: "";
  position: absolute;
  left: 1.65rem;
  top: -0.58rem;
  width: 1px;
  height: 0.58rem;
  background: linear-gradient(var(--c-border), var(--c-brand));
}

.chain__node--field {
  border-color: rgba(255, 168, 0, 0.35);
  background: linear-gradient(90deg, rgba(255, 168, 0, 0.09), transparent 65%);
}

.chain__label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--c-text);
}

.chain__label svg {
  width: 15px;
  height: 15px;
  color: var(--c-brand);
}

.chain__value {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--c-text-dim);
  text-align: right;
}

.gauge {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--c-border);
}

.gauge__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--c-text-dim);
}

.gauge__value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--c-brand);
}

.gauge__track {
  height: 8px;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-pill);
  overflow: hidden;
}

.gauge__fill {
  height: 100%;
  width: 68%;
  background: var(--gradient-brand);
  border-radius: inherit;
  box-shadow: 0 0 14px rgba(255, 168, 0, 0.55);
  animation: gauge-fill 1.6s var(--ease-out) both;
}

@keyframes gauge-fill {
  from {
    width: 0;
  }
  to {
    width: 68%;
  }
}

/* ============================================================
   9. SEITEN-HERO (Unterseiten)
   ============================================================ */

.page-hero {
  --hero-accent: var(--c-brand);

  position: relative;
  overflow: hidden;
  padding-block: clamp(2.5rem, 5vw, 4rem) clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--c-border);
  isolation: isolate;
}

.page-hero--cyan {
  --hero-accent: var(--c-accent);
}

.page-hero__backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}

.page-hero__glow {
  position: absolute;
  top: -55%;
  left: 12%;
  z-index: -1;
  width: min(760px, 100%);
  aspect-ratio: 1.4;
  background: radial-gradient(ellipse at center, rgba(255, 168, 0, 0.16) 0%, transparent 66%);
  filter: blur(10px);
  pointer-events: none;
}

.page-hero--cyan .page-hero__glow {
  background: radial-gradient(ellipse at center, rgba(0, 168, 233, 0.16) 0%, transparent 66%);
}

.breadcrumbs {
  margin-bottom: 2rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--c-text-dim);
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
}

.breadcrumbs a {
  padding: 0.2rem 0.35rem;
  border-radius: var(--r-sm);
  transition: color 0.18s var(--ease-out);
}

.breadcrumbs a:hover {
  color: var(--hero-accent);
}

.breadcrumbs svg {
  width: 13px;
  height: 13px;
  opacity: 0.55;
}

.page-hero__body {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .page-hero__body--aside {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    gap: 3.5rem;
    align-items: center;
  }
}

.page-hero__text {
  max-width: 48rem;
}

.page-hero h1 {
  font-size: clamp(2.1rem, 4vw + 1rem, 3.6rem);
}

.page-hero__lead {
  margin-top: 1.35rem;
  max-width: 62ch;
  font-size: var(--fs-lg);
  line-height: 1.72;
  color: var(--c-text-muted);
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* ============================================================
   10. KARTEN — Kernkompetenzen
   ============================================================ */

.card-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .card-grid--2,
  .card-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .card-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(1.4rem, 2.5vw, 2rem);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
  transition:
    border-color 0.25s var(--ease-out),
    background-color 0.25s var(--ease-out),
    transform 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out);
}

.card:hover {
  background: var(--c-surface-2);
  border-color: rgba(255, 168, 0, 0.45);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: linear-gradient(140deg, rgba(255, 168, 0, 0.16), rgba(255, 144, 0, 0.04));
  border: 1px solid rgba(255, 168, 0, 0.24);
  border-radius: var(--r-md);
  transition: box-shadow 0.3s var(--ease-out);
}

.icon-box svg {
  width: 21px;
  height: 21px;
  color: var(--c-brand);
}

.card:hover .icon-box {
  box-shadow: 0 0 22px -6px rgba(255, 168, 0, 0.6);
}

.card__index {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--c-text-dim);
}

.card__title {
  font-size: 1.14rem;
  margin-bottom: 0.6rem;
}

.card__text {
  flex: 1;
  color: var(--c-text-muted);
  font-size: var(--fs-sm);
  line-height: 1.72;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.35rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--c-border);
}

.tag {
  padding: 0.22em 0.6em;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--c-text-dim);
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
}

/* ============================================================
   11. PRODUKT-SCHAUKASTEN
   ============================================================ */

.product-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.product-item {
  --item-accent: var(--c-brand);

  position: relative;
  display: grid;
  gap: 1.75rem;
  padding: clamp(1.5rem, 3.5vw, 2.6rem);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition:
    border-color 0.3s var(--ease-out),
    background-color 0.3s var(--ease-out),
    transform 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out);
}

.product-item--cyan {
  --item-accent: var(--c-accent);
}

@media (min-width: 768px) {
  .product-item {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
  }
}

/* Akzentkante, die beim Überfahren von oben einläuft */
.product-item::before {
  content: "";
  position: absolute;
  inset-block: 0;
  left: 0;
  width: 3px;
  background: var(--item-accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease-out);
}

.product-item:hover,
.product-item:focus-visible {
  background: var(--c-surface-2);
  border-color: var(--item-accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.product-item:hover::before,
.product-item:focus-visible::before {
  transform: scaleY(1);
}

.product-item__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.product-item__number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--c-text-dim);
}

.product-item__name {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  letter-spacing: -0.035em;
  transition: color 0.25s var(--ease-out);
}

.product-item:hover .product-item__name {
  color: var(--item-accent);
}

.product-item__tagline {
  margin-top: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--item-accent);
}

.product-item__teaser {
  margin-top: 1.1rem;
  max-width: 52ch;
  color: var(--c-text-muted);
  line-height: 1.72;
}

.link-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.6rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--item-accent, var(--c-brand));
}

.link-cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease-out);
}

.product-item:hover .link-cta svg,
.mini-card:hover .link-cta svg {
  transform: translateX(4px);
}

.module-box {
  padding: 1.25rem;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
}

.module-box__label {
  margin-bottom: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-text-dim);
}

.module-box li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.25rem;
  font-size: 0.9rem;
  color: var(--c-text-muted);
  border-bottom: 1px solid var(--c-border);
}

.module-box li:last-child {
  border-bottom: 0;
}

.module-box svg {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--item-accent, var(--c-brand));
  opacity: 0.85;
}

/* ============================================================
   12. PRODUKT-DETAILSEITE
   ============================================================ */

.stat-box {
  display: grid;
  gap: 0.7rem;
  padding: 1.5rem;
  background: var(--c-surface);
  border: 1px solid var(--c-border-strong);
  border-radius: var(--r-lg);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
}

.stat-box > div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.85rem 1rem;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
}

.stat-box dt {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--c-brand);
}

.stat-box dd {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--c-text-muted);
}

/* Reiter */
.tabs__list {
  display: flex;
  gap: 0.35rem;
  padding: 0.35rem;
  margin-bottom: 2rem;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs__list::-webkit-scrollbar {
  display: none;
}

@media (min-width: 768px) {
  .tabs__list {
    display: inline-flex;
  }
}

.tabs__trigger {
  flex: 1 0 auto;
  padding: 0.7rem 1.15rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  white-space: nowrap;
  color: var(--c-text-muted);
  border-radius: var(--r-md);
  transition:
    background-color 0.2s var(--ease-out),
    color 0.2s var(--ease-out);
}

.tabs__trigger:hover {
  color: var(--c-text);
}

.tabs__trigger[aria-selected="true"] {
  background: var(--c-surface-3);
  color: var(--c-brand);
  box-shadow: inset 0 0 0 1px var(--c-border-strong);
}

.tabs__panel[hidden] {
  display: none;
}

.tabs__panel {
  animation: tab-in 0.35s var(--ease-out);
}

@keyframes tab-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.module-panel {
  display: grid;
  gap: 2rem;
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
}

@media (min-width: 1024px) {
  .module-panel {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 3rem;
    align-items: start;
  }
}

.module-panel .icon-box {
  width: 52px;
  height: 52px;
  margin-bottom: 1.1rem;
}

.module-panel .icon-box svg {
  width: 24px;
  height: 24px;
}

.module-panel h3 {
  margin-bottom: 0.75rem;
}

.module-panel__summary {
  color: var(--c-text-muted);
  line-height: 1.72;
  max-width: 44ch;
}

/* Aufzählung mit Häkchen */
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--c-border);
  color: var(--c-text-muted);
  line-height: 1.6;
}

.check-list li:last-child {
  border-bottom: 0;
}

.check-list svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--c-brand);
}

@media (min-width: 1024px) {
  .check-list--2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 2rem;
  }
}

/* Architekturstufen */
.layers {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.layer {
  position: relative;
  display: grid;
  gap: 0.35rem 1.15rem;
  align-items: center;
  grid-template-columns: auto 1fr;
  padding: 1.15rem 1.35rem;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  transition: border-color 0.25s var(--ease-out);
}

.layer:hover {
  border-color: rgba(255, 168, 0, 0.4);
}

@media (min-width: 768px) {
  .layer {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1.5rem;
  }
}

.layer + .layer::before {
  content: "";
  position: absolute;
  left: 2.2rem;
  top: -0.68rem;
  width: 1px;
  height: 0.68rem;
  background: linear-gradient(var(--c-brand), var(--c-border));
}

.layer__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--c-brand);
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
}

.layer__name {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.layer__role {
  margin-top: 0.2rem;
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--c-text-muted);
}

.layer__tech {
  grid-column: 2;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--c-text-dim);
}

@media (min-width: 768px) {
  .layer__tech {
    grid-column: auto;
    text-align: right;
  }
}

/* Einsatzorte */
.deployment {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(1.4rem, 2.5vw, 1.85rem);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
}

.deployment__head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.deployment__head svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--c-brand);
}

.deployment__site {
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.deployment__group {
  margin-top: 0.15rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--c-text-dim);
}

.deployment__scope {
  flex: 1;
  font-size: var(--fs-sm);
  line-height: 1.72;
  color: var(--c-text-muted);
}

.deployment .badge {
  align-self: flex-start;
  margin-top: 1.25rem;
}

/* Zielgruppe und Fragen nebeneinander */
.split {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .split {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 4rem;
    align-items: start;
  }

  .split--wide-first {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  }

  .sticky-box {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }
}

.audience {
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
}

.audience h2 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.audience h2 svg {
  width: 18px;
  height: 18px;
  color: var(--c-brand);
}

.audience li {
  padding: 0.7rem 0 0.7rem 1.1rem;
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--c-text-muted);
  border-bottom: 1px solid var(--c-border);
  border-left: 2px solid transparent;
  transition:
    border-color 0.2s var(--ease-out),
    color 0.2s var(--ease-out);
}

.audience li:last-child {
  border-bottom: 0;
}

.audience li:hover {
  border-left-color: var(--c-brand);
  color: var(--c-text);
}

/* Akkordeon */
.accordion__item {
  border-bottom: 1px solid var(--c-border);
}

.accordion__item:first-child {
  border-top: 1px solid var(--c-border);
}

.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  padding: 1.35rem 0.25rem;
  text-align: left;
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--c-text);
  transition: color 0.2s var(--ease-out);
}

.accordion__trigger:hover,
.accordion__trigger[aria-expanded="true"] {
  color: var(--c-brand);
}

.accordion__trigger svg {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--c-text-dim);
  transition:
    transform 0.3s var(--ease-out),
    color 0.2s var(--ease-out);
}

.accordion__trigger:hover svg,
.accordion__trigger[aria-expanded="true"] svg {
  color: var(--c-brand);
}

.accordion__trigger[aria-expanded="true"] svg {
  transform: rotate(45deg);
}

.accordion__panel {
  padding: 0 3rem 1.5rem 0.25rem;
  max-width: 68ch;
  color: var(--c-text-muted);
  line-height: 1.75;
}

.accordion__panel[hidden] {
  display: none;
}

/* Kleine Karte für weitere Produkte */
.mini-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  height: 100%;
  padding: clamp(1.4rem, 2.5vw, 2rem);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  transition:
    border-color 0.25s var(--ease-out),
    background-color 0.25s var(--ease-out),
    transform 0.25s var(--ease-out);
}

.mini-card:hover {
  background: var(--c-surface-2);
  border-color: rgba(255, 168, 0, 0.4);
  transform: translateY(-3px);
}

.mini-card h3 {
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.mini-card p {
  flex: 1;
  font-size: var(--fs-sm);
  line-height: 1.72;
  color: var(--c-text-muted);
}

/* ============================================================
   13. KOMPETENZ-LISTE (Unterseite)
   ============================================================ */

.competency {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  padding-block: clamp(2.5rem, 5vw, 3.75rem);
  border-bottom: 1px solid var(--c-border);
  scroll-margin-top: calc(var(--header-h) + 2rem);
}

.competency:first-child {
  padding-top: 0;
}

.competency:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

@media (min-width: 768px) {
  .competency {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 2.5rem;
  }
}

.competency__aside {
  display: flex;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .competency__aside {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.15rem;
    width: 72px;
  }
}

.competency__aside .icon-box {
  width: 56px;
  height: 56px;
}

.competency__aside .icon-box svg {
  width: 25px;
  height: 25px;
}

.competency:hover .icon-box {
  box-shadow: 0 0 26px -8px rgba(255, 168, 0, 0.7);
}

.competency__index {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  color: var(--c-text-dim);
}

.competency__body {
  max-width: 72ch;
}

.competency__body h2 {
  font-size: clamp(1.5rem, 2.2vw + 1rem, 2.1rem);
  margin-bottom: 0.6rem;
}

.competency__teaser {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--c-brand);
  margin-bottom: 1.25rem;
}

.competency__text {
  color: var(--c-text-muted);
  line-height: 1.75;
}

.competency .check-list {
  margin-top: 1.75rem;
}

.competency .tag-list {
  border-top: 0;
  padding-top: 0;
  margin-top: 1.75rem;
}

.brand-box {
  padding: 1.5rem;
  background: var(--c-surface);
  border: 1px solid var(--c-border-strong);
  border-radius: var(--r-lg);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
}

.brand-box__label {
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-text-dim);
}

.brand-box ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.brand-box li {
  padding: 0.45em 0.9em;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--c-text-muted);
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  transition:
    border-color 0.2s var(--ease-out),
    color 0.2s var(--ease-out);
}

.brand-box li:hover {
  border-color: var(--c-brand);
  color: var(--c-brand);
}

/* ============================================================
   14. REFERENZEN
   ============================================================ */

.reference {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(1.4rem, 2.5vw, 1.9rem);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
  transition:
    border-color 0.28s var(--ease-out),
    transform 0.28s var(--ease-out);
}

.reference:hover {
  border-color: rgba(255, 168, 0, 0.4);
  transform: translateY(-3px);
}

.reference__head {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.reference__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 42px;
  height: 42px;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
}

.reference__icon svg {
  width: 19px;
  height: 19px;
  color: var(--c-brand);
}

.reference__name {
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.reference__location {
  margin-top: 0.15rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--c-text-dim);
}

.reference > .badge {
  align-self: flex-start;
  margin-bottom: 1rem;
}

.reference__summary {
  flex: 1;
  font-size: var(--fs-sm);
  line-height: 1.72;
  color: var(--c-text-muted);
}

.reference__facts {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 1.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--c-border);
}

.reference__facts > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.reference__facts dt {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text-dim);
}

.reference__facts dd {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 500;
  text-align: right;
  color: var(--c-text);
}

/* Projektraster mit Hairline-Gitter */
.project-grid {
  display: grid;
  gap: 1px;
  background: var(--c-border);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .project-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.project {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: clamp(1.4rem, 2.5vw, 1.9rem);
  background: var(--c-surface);
  transition: background-color 0.25s var(--ease-out);
}

.project:hover {
  background: var(--c-surface-2);
}

.project__field {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-brand);
}

.project h3 {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.project p {
  font-size: var(--fs-sm);
  line-height: 1.68;
  color: var(--c-text-muted);
}

.note {
  margin-top: 1.75rem;
  font-size: var(--fs-sm);
  color: var(--c-text-dim);
}

/* ============================================================
   15. VORGEHEN & UNTERNEHMEN
   ============================================================ */

.steps {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 0 3rem;
  }
}

@media (min-width: 1024px) {
  .steps {
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
  }
}

.step {
  position: relative;
  display: flex;
  gap: 1.15rem;
  padding-block: 1.5rem;
}

@media (min-width: 1024px) {
  .step {
    flex-direction: column;
    gap: 1.25rem;
    padding: 0 1.5rem 0 0;
  }

  /* Schiene, die die Stufen verbindet */
  .step::after {
    content: "";
    position: absolute;
    left: 0;
    top: 17px;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--c-brand) 0, var(--c-border) 38px, var(--c-border) 100%);
  }

  .step:last-child::after {
    background: linear-gradient(90deg, var(--c-brand) 0, var(--c-border) 38px, transparent 100%);
  }
}

.step__marker {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 36px;
  height: 36px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--c-brand);
  background: var(--c-bg);
  border: 1px solid rgba(255, 168, 0, 0.35);
  border-radius: 50%;
  transition: box-shadow 0.3s var(--ease-out);
}

.step:hover .step__marker {
  box-shadow: 0 0 0 4px rgba(255, 168, 0, 0.1);
}

.step h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.step p {
  font-size: var(--fs-sm);
  line-height: 1.72;
  color: var(--c-text-muted);
  max-width: 42ch;
}

.fact-list {
  display: grid;
  gap: 1px;
  background: var(--c-border);
  border: 1px solid var(--c-border-strong);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.fact-list > div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem 1.25rem;
  background: var(--c-surface);
}

.fact-list dt {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-text-dim);
}

.fact-list dd {
  display: flex;
  flex-direction: column;
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--c-text);
}

.fact-list dd span {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--c-text-muted);
}

.prose-lg {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  max-width: 68ch;
  font-size: var(--fs-lg);
  line-height: 1.78;
  color: var(--c-text-muted);
}

.prose-lg strong {
  color: var(--c-text);
  font-weight: 600;
}

.principle {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
  padding: clamp(1.5rem, 3vw, 2.15rem);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
  transition: border-color 0.25s var(--ease-out);
}

.principle:hover {
  border-color: rgba(255, 168, 0, 0.4);
}

.principle .icon-box {
  margin-bottom: 0.4rem;
}

.principle h3 {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.principle p {
  color: var(--c-text-muted);
  font-size: var(--fs-sm);
  line-height: 1.75;
  max-width: 52ch;
}

/* ============================================================
   16. CTA-BAND
   ============================================================ */

.cta {
  padding-block: var(--section-y);
}

.cta__panel {
  position: relative;
  overflow: hidden;
  padding: clamp(2.25rem, 6vw, 4.5rem);
  background: var(--c-surface);
  border: 1px solid var(--c-border-strong);
  border-radius: var(--r-xl);
  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);
  background-size: 48px 48px;
  clip-path: polygon(0 0, calc(100% - 38px) 0, 100% 38px, 100% 100%, 0 100%);
}

.cta__glow {
  position: absolute;
  top: -60%;
  right: -10%;
  width: min(680px, 90%);
  aspect-ratio: 1;
  background: radial-gradient(
    circle at center,
    rgba(255, 168, 0, 0.18) 0%,
    rgba(255, 144, 0, 0.05) 40%,
    transparent 70%
  );
  pointer-events: none;
}

.cta__content {
  position: relative;
  max-width: 56ch;
}

.cta__content h2 {
  margin-bottom: 1.1rem;
}

.cta__lead {
  font-size: var(--fs-lg);
  line-height: 1.7;
  color: var(--c-text-muted);
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.25rem;
}

.cta__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-border);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--c-text-dim);
}

.cta__meta svg {
  width: 15px;
  height: 15px;
  color: var(--c-brand);
}

.cta__meta a:hover {
  color: var(--c-brand);
}

.cta__meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--c-text-dim);
}

/* ============================================================
   17. KONTAKTFORMULAR
   ============================================================ */

.contact-layout {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
    gap: 2.5rem;
    align-items: start;
  }
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
}

.form__row {
  display: grid;
  gap: 1.35rem;
  grid-template-columns: 1fr;
}

@media (min-width: 480px) {
  .form__row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.field label,
.form legend {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-text);
}

.field .req {
  color: var(--c-brand);
}

.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.8rem 1rem;
  background: var(--c-surface-3);
  color: var(--c-text);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  font-size: var(--fs-base);
  transition:
    border-color 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.65;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--c-text-dim);
}

.field input:hover,
.field textarea:hover {
  border-color: var(--c-border-strong);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--c-brand);
  box-shadow: 0 0 0 3px rgba(255, 168, 0, 0.16);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--c-danger);
}

.field input[aria-invalid="true"]:focus,
.field textarea[aria-invalid="true"]:focus {
  border-color: var(--c-danger);
  box-shadow: 0 0 0 3px rgba(255, 92, 92, 0.16);
}

.field__hint {
  font-size: 0.8rem;
  color: var(--c-text-dim);
}

.field__error {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--c-danger);
}

.field__error[hidden] {
  display: none;
}

/* Themenauswahl als Chips */
.topics {
  border: 0;
  padding: 0;
  margin: 0;
}

.topics legend {
  margin-bottom: 0.65rem;
}

.topics__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.topics input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.topics span {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--c-text-muted);
  background: var(--c-surface-3);
  border: 1px solid var(--c-border);
  border-radius: var(--r-pill);
  cursor: pointer;
  transition:
    border-color 0.2s var(--ease-out),
    color 0.2s var(--ease-out),
    background-color 0.2s var(--ease-out);
}

.topics label:hover span {
  border-color: var(--c-border-strong);
  color: var(--c-text);
}

.topics input:focus-visible + span {
  outline: 2px solid var(--c-brand);
  outline-offset: 2px;
}

.topics input:checked + span {
  background: rgba(255, 168, 0, 0.12);
  border-color: var(--c-brand);
  color: var(--c-brand);
}

/* Honeypot — für Menschen unsichtbar, für einfache Bots ausfüllbar */
.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding-top: 0.35rem;
}

.consent input[type="checkbox"] {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--c-brand);
  cursor: pointer;
}

.consent label {
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--c-text-muted);
  cursor: pointer;
}

.consent a {
  color: var(--c-brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form__message {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.9rem 1.1rem;
  font-size: var(--fs-sm);
  line-height: 1.55;
  border-radius: var(--r-md);
}

.form__message[hidden] {
  display: none;
}

.form__message svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
}

.form__message--error {
  color: var(--c-danger);
  background: rgba(255, 92, 92, 0.08);
  border: 1px solid rgba(255, 92, 92, 0.3);
}

.form__message--success {
  color: var(--c-success);
  background: rgba(62, 207, 142, 0.08);
  border: 1px solid rgba(62, 207, 142, 0.3);
}

.form__submit {
  align-self: flex-start;
  margin-top: 0.35rem;
}

/* Kontaktangaben daneben */
.info-card,
.hint-card {
  padding: clamp(1.4rem, 2.5vw, 1.9rem);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
}

.info-card {
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
}

.info-card h2,
.hint-card h2 {
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.info-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--c-border);
}

.info-card li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.info-card svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 4px;
  color: var(--c-brand);
}

.info-card__label {
  display: block;
  margin-bottom: 0.15rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-text-dim);
}

.info-card__value {
  display: block;
  font-size: 0.95rem;
  font-style: normal;
  line-height: 1.55;
  color: var(--c-text);
}

a.info-card__value:hover {
  color: var(--c-brand);
}

.hint-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.hint-card li {
  position: relative;
  padding-left: 1.25rem;
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--c-text-muted);
}

.hint-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  background: var(--c-brand);
  border-radius: 50%;
}

.hint-card__note {
  margin-top: 1.35rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--c-border);
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--c-text-dim);
}

/* ============================================================
   18. RECHTSTEXTE
   ============================================================ */

.prose {
  max-width: 76ch;
  color: var(--c-text-muted);
  line-height: 1.8;
}

.prose h2 {
  margin-top: 2.75rem;
  margin-bottom: 0.85rem;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--c-text);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p + p {
  margin-top: 1rem;
}

.prose a {
  color: var(--c-brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 1rem;
}

.prose li {
  position: relative;
  padding-left: 1.25rem;
}

.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  background: var(--c-brand);
  border-radius: 50%;
}

.prose strong {
  color: var(--c-text);
  font-weight: 600;
}

/* Auffälliger Platzhalter für noch fehlende Pflichtangaben */
.todo {
  display: block;
  margin-top: 0.5rem;
  padding: 0.7rem 0.95rem;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--c-brand);
  background: rgba(255, 168, 0, 0.1);
  border: 1px dashed rgba(255, 168, 0, 0.5);
  border-radius: var(--r-md);
}

.todo::before {
  content: "Noch zu ergänzen: ";
  font-weight: 700;
}

/* ============================================================
   19. FEHLERSEITE
   ============================================================ */

.error-page {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100svh - var(--header-h) - 200px);
  padding-block: clamp(4rem, 10vw, 8rem);
  overflow: hidden;
  isolation: isolate;
}

.error-page__backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 40% 45%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 40% 45%, #000 10%, transparent 75%);
}

.error-page__inner {
  max-width: 52rem;
}

.error-page__code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 18vw, 11rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.06em;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.28;
}

.error-page h1 {
  margin-top: -0.5rem;
  font-size: var(--fs-h2);
}

.error-page__lead {
  margin-top: 1.15rem;
  max-width: 52ch;
  font-size: var(--fs-lg);
  line-height: 1.7;
  color: var(--c-text-muted);
}

.error-page__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--c-border);
}

.error-page__links a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--c-text-dim);
  transition: color 0.18s var(--ease-out);
}

.error-page__links a:hover {
  color: var(--c-brand);
}

/* ============================================================
   20. HILFSKLASSEN
   ============================================================ */

.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;
}

.stack-sm > * + * {
  margin-top: 0.5rem;
}

.mt-lg {
  margin-top: 2rem;
}

/* Sanftes Einblenden beim Scrollen — nur wenn Bewegung erwünscht ist */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition:
      opacity 0.7s var(--ease-out),
      transform 0.7s var(--ease-out);
  }

  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   21. NACHTRÄGE
   ============================================================ */

/* Jede zweite Produktzeile spiegelt die Spalten, ohne die
   Reihenfolge im Quelltext zu ändern (Vorlesereihenfolge bleibt). */
@media (min-width: 768px) {
  .product-item--reversed {
    direction: rtl;
  }

  .product-item--reversed > * {
    direction: ltr;
  }
}

/* Akkordeon-Container — Abstand zur Überschrift darüber. */
.accordion {
  margin-top: 0.5rem;
}

/* Kontaktangaben bleiben auf großen Schirmen beim Scrollen stehen. */
.contact-aside {
  display: flex;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .contact-aside {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }
}

/* ============================================================
   22. GESCHÄFTSFELDER
   ============================================================ */

/* Karte für ein Geschäftsfeld — Startseite */
.field-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(1.5rem, 2.8vw, 2.1rem);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
  transition:
    border-color 0.25s var(--ease-out),
    background-color 0.25s var(--ease-out),
    transform 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out);
}

.field-card:hover {
  background: var(--c-surface-2);
  border-color: rgba(255, 168, 0, 0.45);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.field-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.field-card:hover .icon-box {
  box-shadow: 0 0 22px -6px rgba(255, 168, 0, 0.6);
}

.field-card__title {
  font-size: 1.22rem;
  letter-spacing: -0.025em;
  margin-bottom: 0.55rem;
}

.field-card__teaser {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--c-brand);
  margin-bottom: 1.15rem;
}

.field-card__bullets {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.field-card__bullets li {
  position: relative;
  padding-left: 1.1rem;
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--c-text-muted);
}

.field-card__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 5px;
  height: 5px;
  background: var(--c-brand);
  border-radius: 50%;
  opacity: 0.7;
}

.field-card__foot {
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--c-border);
}

.field-card__label {
  margin-bottom: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-text-dim);
}

.field-card__products {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
}

.field-card__products a,
.field-card__none {
  display: inline-block;
  padding: 0.28em 0.7em;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  color: var(--c-text-muted);
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  transition:
    border-color 0.2s var(--ease-out),
    color 0.2s var(--ease-out);
}

.field-card__products a:hover {
  border-color: var(--c-brand);
  color: var(--c-brand);
}

.field-card__none {
  color: var(--c-text-dim);
  font-style: italic;
}

.field-card .link-cta {
  margin-top: 0;
}

.field-card:hover .link-cta svg {
  transform: translateX(4px);
}

/* Produktliste innerhalb eines Geschäftsfeldes — auf der Leistungsseite */
.field-products {
  margin-top: 2rem;
  padding: 1.35rem 1.5rem;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
}

.field-products__label {
  margin-bottom: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-text-dim);
}

.field-products ul {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.field-products a {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  transition: background-color 0.2s var(--ease-out);
}

.field-products li:last-child a {
  border-bottom: 0;
}

.field-products a:hover {
  background: var(--c-surface-2);
}

.field-products__name {
  flex: none;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--c-text);
  transition: color 0.2s var(--ease-out);
}

.field-products a:hover .field-products__name {
  color: var(--c-brand);
}

.field-products__desc {
  flex: 1;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--c-text-dim);
}

.field-products svg {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--c-brand);
  opacity: 0;
  transition:
    opacity 0.2s var(--ease-out),
    transform 0.25s var(--ease-out);
}

.field-products a:hover svg {
  opacity: 1;
  transform: translateX(3px);
}

/* ============================================================
   23. PRODUKTGRUPPEN (nach Geschäftsfeld)
   ============================================================ */

.product-group + .product-group {
  margin-top: clamp(2.75rem, 5vw, 4rem);
}

.product-group__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.35rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--c-border);
}

.product-group__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 42px;
  height: 42px;
  background: linear-gradient(140deg, rgba(255, 168, 0, 0.16), rgba(255, 144, 0, 0.03));
  border: 1px solid rgba(255, 168, 0, 0.26);
  border-radius: var(--r-md);
}

.product-group__icon svg {
  width: 19px;
  height: 19px;
  color: var(--c-brand);
}

.product-group__head > div {
  flex: 1;
  min-width: 0;
}

.product-group__index {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-text-dim);
}

.product-group__title {
  margin-top: 0.1rem;
  font-size: 1.22rem;
  letter-spacing: -0.025em;
}

.product-group__link {
  display: none;
  align-items: center;
  gap: 0.45rem;
  flex: none;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--c-text-dim);
  border-radius: var(--r-sm);
  transition: color 0.2s var(--ease-out);
}

.product-group__link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s var(--ease-out);
}

.product-group__link:hover {
  color: var(--c-brand);
}

.product-group__link:hover svg {
  transform: translateX(3px);
}

@media (min-width: 768px) {
  .product-group__link {
    display: inline-flex;
  }
}

/* Kettenglieder im Hero tragen jetzt Symbole */
.chain__label svg {
  flex: none;
  opacity: 0.85;
}
