/* =============================================================================
   NEXA — Zentrales Stylesheet
   Ein Stylesheet für index.html, impressum.html und datenschutz.html.

   Aufbau:
   1.  Design-Tokens (CSS-Variablen)
   2.  Reset & Basis
   3.  Typografie
   4.  Layout-Helfer
   5.  Buttons
   6.  Navigation (sticky, Blur, Mobile-Menü)
   7.  Hero
   8.  Problem
   9.  Leistungen
   10. Warum NEXA
   11. Ablauf (Timeline)
   12. Kontakt / CTA
   13. Footer
   14. Rechtsseiten (Impressum / Datenschutz)
   15. Scroll-Reveal & Motion-Preferences
   ============================================================================= */

/* =============================================================================
   0. LOKALE SCHRIFTEN (DSGVO — keine Verbindung zu Google-Servern zur Laufzeit)
   Variable Fonts: je Schrift eine Datei pro Subset (latin / latin-ext).
   font-display: swap → Text bleibt sofort lesbar (System-Fallback), bis die
   Datei geladen ist. Fehlen die Dateien, greift der Fallback dauerhaft.
   Nachladen/aktualisieren: siehe README.
   ============================================================================= */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('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+2074, 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: 500 700;
  font-display: swap;
  src: url('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: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('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+2074, 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: 400 600;
  font-display: swap;
  src: url('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;
}

/* =============================================================================
   1. DESIGN-TOKENS
   ============================================================================= */
:root {
  /* Farben — verbindliches Design-System, keine anderen Farben verwenden */
  --bg:      #0A0A0B;   /* Basis-Hintergrund */
  --panel:   #141417;   /* Karten, Sektionsflächen */
  --panel-2: #1B1B20;   /* Hover, zweite Ebene */
  --line:    #26262C;   /* Trennlinien, Rahmen */
  --text:    #F5F5F7;   /* Fliesstext, Off-White */
  --muted:   #8A8A94;   /* sekundärer Text */
  --accent:  #2E6FF2;   /* Elektroblau — NUR für Buttons, Links, Hover, Akzente */
  --accent-hover: #4A82F5;
  --accent-soft:  rgba(46, 111, 242, 0.12);

  /* Typografie */
  /* Sauberer System-Fallback: greift, solange die woff2 laden – oder dauerhaft,
     falls die Font-Dateien fehlen. */
  --font-display: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  /* Masse */
  --container: 1120px;
  --reading:   720px;   /* schmale Lesespalte für Rechtsseiten */
  --radius:    18px;    /* weiche Ecken auf Karten und Buttons (14–20px) */
  --radius-sm: 14px;

  /* Grosszügige Sektionsabstände: 72px mobil → 128px Desktop (> 120px Vorgabe) */
  --section-gap: clamp(72px, 10vw, 128px);

  --nav-h: 68px;

  /* -- Tiefe: geschichtete Schatten (Apple-Stil: mehrere weiche Ebenen) -- */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.35), 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 18px 40px rgba(0, 0, 0, 0.45), 0 6px 14px rgba(0, 0, 0, 0.35);
  --shadow-xl: 0 40px 80px rgba(0, 0, 0, 0.55), 0 14px 28px rgba(0, 0, 0, 0.4);
  /* farbiger Glow für Hover-Akzente */
  --glow-accent: 0 20px 48px rgba(46, 111, 242, 0.35);
  /* Glanzkante oben auf erhöhten Flächen (feiner Lichtsaum) */
  --edge-top: inset 0 1px 0 rgba(255, 255, 255, 0.06);

  /* -- Übergänge: weiche, „federnde" Kurven -- */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);      /* schnelles Ankommen, sanftes Auslaufen */
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);       /* Standard-Material */
}

/* =============================================================================
   2. RESET & BASIS
   ============================================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px); /* Anker landen nicht unter der Nav */
}

body {
  /* Grundfläche mit ganz feiner Tiefen-Schattierung: ein kühler Schimmer oben,
     zum Fuss hin sattes Schwarz — gibt der Seite räumliche Tiefe (Apple-Stil). */
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(46, 111, 242, 0.08), transparent 60%),
    linear-gradient(180deg, #0C0C0F 0%, var(--bg) 40%);
  background-color: var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;          /* Body 16–18px */
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

::selection { background: var(--accent); color: #fff; }

/* Links: Akzentfarbe nur dort, wo geklickt wird */
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Sichtbarer Tastatur-Fokus (Barrierefreiheit) */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip-Link: springt für Screenreader/Tastatur direkt zum Inhalt */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; text-decoration: none; }

/* =============================================================================
   3. TYPOGRAFIE
   ============================================================================= */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;   /* negativer Tracking auf Headlines */
  text-wrap: balance;
}

h2 { font-size: clamp(30px, 4.5vw, 50px); }
h3 { font-size: clamp(20px, 2.4vw, 25px); font-weight: 600; }

p { max-width: 62ch; }

/* Eyebrow-Label über den Sektions-Headlines */
.eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}

/* Einleitungstext unter Headlines */
.lead {
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.6;
  max-width: 46ch;
  margin-top: 22px;
}

/* Wortmarke-Akzent: das X in --accent */
.accent { color: var(--accent); }

/* =============================================================================
   4. LAYOUT-HELFER
   ============================================================================= */
.container {
  width: min(var(--container), 100% - 44px);
  margin-inline: auto;
}

section { padding-block: var(--section-gap); }

/* Feiner Trennstrich zwischen manchen Sektionen */
.section--bordered { border-top: 1px solid var(--line); }

/* Kopf einer Sektion (Eyebrow + Headline + Lead) */
.section-head { max-width: 780px; }

/* =============================================================================
   5. BUTTONS
   ============================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  padding: 16px 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  cursor: pointer;
  /* Verlauf + Glanzkante innen + weicher Schlagschatten = plastischer Button */
  background: linear-gradient(180deg, #3D7BF5 0%, var(--accent) 100%);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out),
              filter 0.28s var(--ease-out);
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: var(--glow-accent), var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.btn:active { transform: translateY(0); box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.18); }

/* Sekundär: nur Umriss, füllt sich beim Hover dezent */
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
  box-shadow: none;
}
.btn--ghost:hover {
  background: var(--panel-2);
  border-color: var(--accent);
  color: var(--text);
  box-shadow: none;
}

/* Kompakt für die Navigation */
.btn--sm { padding: 11px 20px; font-size: 15px; }

/* Textlink mit Pfeil (z. B. "Leistungen ansehen") */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--text);
}
.link-arrow::after {
  content: "\2192";               /* → */
  color: var(--accent);
  transition: transform 0.2s ease;
}
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover::after { transform: translateX(4px); }

/* =============================================================================
   6. NAVIGATION
   ============================================================================= */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease;
}
/* Zustand nach dem ersten Scrollen (per JS gesetzt).
   Fallback ohne JS: Blur greift dauerhaft, sobald etwas hinter der Nav liegt. */
.nav.is-scrolled {
  background: rgba(10, 10, 11, 0.65);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  backdrop-filter: saturate(180%) blur(22px);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

/* Marke: Logo + Wortmarke */
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}
.nav__brand:hover { text-decoration: none; }
.nav__logo { width: 30px; height: 30px; }
.nav__word {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

/* Menü (Links + CTA) */
.nav__menu {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav__links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav__links a {
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav__links a:hover { color: var(--text); text-decoration: none; }

/* Hamburger-Button — nur mobil sichtbar */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin-inline: auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease;
}
/* Aktiv-Zustand: Hamburger wird zum X */
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Mobile Navigation ---
   Breakpoint 900px: mit sechs Nav-Punkten (inkl. Demo) klappt die Leiste schon
   auf Tablets sauber ins Hamburger-Menü, statt gedrängt zu wirken. */
@media (max-width: 900px) {
  .nav__toggle { display: flex; }

  .nav__menu {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 24px 22px 32px;
    background: rgba(10, 10, 11, 0.96);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    /* Standard: eingeklappt. Ohne JS bleibt das Menü über :target erreichbar
       (siehe Fallback unten). */
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.28s ease, opacity 0.28s ease, visibility 0.28s;
  }
  .nav.is-open .nav__menu {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav__links {
    flex-direction: column;
    gap: 4px;
  }
  .nav__links a {
    display: block;
    padding: 14px 4px;
    font-size: 18px;
    color: var(--text);
    border-bottom: 1px solid var(--line);
  }
  .nav__menu .btn { width: 100%; margin-top: 12px; }

  /* Fallback ohne JavaScript: Menü per :target aufklappen
     (Hamburger ist dann ein Anker auf #nav-menu). */
  .nav__menu:target {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
}

/* =============================================================================
   7. HERO
   ============================================================================= */
.hero {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: center;
  padding-block: calc(var(--nav-h) + 64px) 88px;
  overflow: hidden;
}

/* Subtiler Glow hinter der Headline — reine CSS-Fläche, kein Bild */
.hero::before {
  content: "";
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: min(880px, 94vw);
  height: 500px;
  /* zweischichtiger Glow: warmer Kern + weiter, kühler Hof = mehr Tiefe */
  background:
    radial-gradient(ellipse 42% 55% at 50% 45%, rgba(74, 130, 245, 0.28), transparent 70%),
    radial-gradient(ellipse closest-side, rgba(46, 111, 242, 0.16), transparent 72%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
/* feiner, mitlaufender Lichtschimmer ganz oben über dem Hero */
.hero::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.10), transparent);
  pointer-events: none;
}

.hero__inner { position: relative; z-index: 1; max-width: 900px; }

.hero h1 {
  font-size: clamp(44px, 8vw, 92px);
  letter-spacing: -0.02em;
  max-width: 14ch;
}

.hero .lead { max-width: 54ch; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 40px;
}

/* =============================================================================
   8. PROBLEM
   ============================================================================= */
.problem__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 56px;
}
.problem__item {
  background: linear-gradient(180deg, #17171C 0%, #121216 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-md), var(--edge-top);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.problem__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--edge-top);
}
.problem__num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent);
  display: block;
  margin-bottom: 18px;
}
.problem__item p { color: var(--text); font-size: 17px; max-width: none; }

/* =============================================================================
   9. LEISTUNGEN
   ============================================================================= */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 56px;
}

.card {
  position: relative;
  isolation: isolate;
  /* feiner vertikaler Verlauf: oben minimal heller = Licht von oben */
  background: linear-gradient(180deg, #17171C 0%, #121216 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: var(--shadow-md), var(--edge-top);
  transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease-out),
              box-shadow 0.4s var(--ease-out);
}
/* weicher Akzent-Glow, der beim Hover aus der Kartenoberkante „aufglüht" */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, rgba(46, 111, 242, 0.5), transparent 55%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-8px);
  border-color: rgba(46, 111, 242, 0.35);
  box-shadow: var(--shadow-xl), 0 0 60px rgba(46, 111, 242, 0.12), var(--edge-top);
}
.card:hover::before { opacity: 1; }

.card__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(46, 111, 242, 0.22), rgba(46, 111, 242, 0.10));
  border: 1px solid rgba(46, 111, 242, 0.28);
  color: var(--accent);
  margin-bottom: 26px;
  box-shadow: 0 6px 16px rgba(46, 111, 242, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.card h3 { margin-bottom: 18px; }

.card__list {
  list-style: none;
  display: grid;
  gap: 12px;
}
.card__list li {
  position: relative;
  color: var(--muted);
  font-size: 16px;
  padding-left: 26px;
}
.card__list li::before {
  content: "\2192";                /* → */
  position: absolute;
  left: 0;
  color: var(--accent);
}
/* Direktlink unter einer Leistungskarte (z. B. „CRM-Demo ansehen") */
.card__link { margin-top: 24px; font-size: 15px; }

/* =============================================================================
   10. WARUM NEXA
   ============================================================================= */
.why__inner {
  display: grid;
  gap: 40px;
  align-items: start;
}
@media (min-width: 900px) {
  .why__inner { grid-template-columns: 4fr 6fr; gap: 72px; }
}
.why__story p {
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.7;
  max-width: 60ch;
}
.why__story strong { color: var(--text); font-weight: 600; }

/* =============================================================================
   11. ABLAUF — horizontale Timeline
   ============================================================================= */
.process__steps {
  display: grid;
  gap: 44px;
  margin-top: 64px;
  position: relative;
}
@media (min-width: 860px) {
  .process__steps { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  /* Verbindungslinie hinter den Nummern-Kreisen */
  .process__steps::before {
    content: "";
    position: absolute;
    top: 28px;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(90deg,
                transparent, var(--line) 12%, var(--line) 88%, transparent);
    z-index: 0;
  }
}
.step { position: relative; z-index: 1; }
.step__num {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, rgba(46, 111, 242, 0.18), #131318 70%);
  border: 1px solid rgba(46, 111, 242, 0.5);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 24px;
  box-shadow: 0 8px 20px rgba(46, 111, 242, 0.18), var(--edge-top);
}
.step h3 { margin-bottom: 12px; }
.step p { color: var(--muted); font-size: 16px; }

/* =============================================================================
   12. KONTAKT / CTA
   ============================================================================= */
.contact__box {
  position: relative;
  background: linear-gradient(180deg, #17171C 0%, #101014 100%);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) * 1.4);
  box-shadow: var(--shadow-lg), var(--edge-top);
  padding: clamp(48px, 8vw, 88px) clamp(24px, 6vw, 72px);
  text-align: center;
  overflow: hidden;
}
/* Dezenter Glow innerhalb der Box */
.contact__box::before {
  content: "";
  position: absolute;
  top: -35%;
  left: 50%;
  transform: translateX(-50%);
  width: 72%;
  height: 80%;
  background: radial-gradient(ellipse closest-side,
              rgba(46, 111, 242, 0.16), transparent 70%);
  filter: blur(54px);
  pointer-events: none;
}
.contact__box > * { position: relative; }
.contact__box .lead { margin-inline: auto; }
.contact__box .btn { margin-top: 36px; }

/* =============================================================================
   13. FOOTER
   ============================================================================= */
.footer {
  border-top: 1px solid var(--line);
  padding-block: 40px;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  align-items: center;
  justify-content: space-between;
}
.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}
.footer__brand:hover { text-decoration: none; }
.footer__brand .nav__word { font-size: 17px; }
.footer__logo { width: 24px; height: 24px; }

.footer__links {
  display: flex;
  gap: 26px;
  list-style: none;
}
.footer__links a {
  color: var(--muted);
  font-size: 15px;
  transition: color 0.2s ease;
}
.footer__links a:hover { color: var(--text); text-decoration: none; }

.footer__copy {
  width: 100%;
  color: var(--muted);
  font-size: 14px;
  margin-top: 6px;
}

/* =============================================================================
   13b. TOOL-LEISTE ("Womit wir arbeiten")
   ============================================================================= */
.tools {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.tools__label {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
.tools__list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
}
.tools__list li {
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.tools__list li:hover { border-color: var(--accent); color: var(--accent); }

/* =============================================================================
   13c. TEAM (zwei Gründer-Karten mit Initialen-Avatar + LinkedIn)
   ============================================================================= */
.team__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 56px;
}
.member {
  background: linear-gradient(180deg, #17171C 0%, #121216 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px;
  box-shadow: var(--shadow-md), var(--edge-top);
  transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease-out),
              box-shadow 0.4s var(--ease-out);
}
.member:hover {
  transform: translateY(-6px);
  border-color: rgba(46, 111, 242, 0.35);
  box-shadow: var(--shadow-xl), 0 0 50px rgba(46, 111, 242, 0.10), var(--edge-top);
}
.member__head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}
/* Initialen-Avatar: Kreis mit Buchstaben in --accent */
.avatar {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, rgba(74, 130, 245, 0.30), rgba(46, 111, 242, 0.12) 70%);
  border: 1px solid rgba(46, 111, 242, 0.4);
  color: var(--accent);
  box-shadow: 0 8px 20px rgba(46, 111, 242, 0.20), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.member__name { font-weight: 600; font-size: 19px; color: var(--text); }
.member__role {
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
  margin-top: 2px;
}
.member__text { color: var(--muted); font-size: 16px; }

/* LinkedIn als Icon-Button (Team-Karten) */
.icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.icon-btn svg { width: 16px; height: 16px; fill: currentColor; }
.icon-btn:hover {
  text-decoration: none;
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

/* Runde Social-Icons (Footer) */
.social {
  display: inline-flex;
  gap: 10px;
  list-style: none;
}
.social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.social a svg { width: 17px; height: 17px; fill: currentColor; }
.social a:hover { border-color: var(--accent); color: var(--accent); }

/* =============================================================================
   13d. FAQ (native <details>, JS-frei)
   ============================================================================= */
.faq__list {
  margin-top: 48px;
  border-top: 1px solid var(--line);
}
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 4px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 600;
  color: var(--text);
  list-style: none;             /* Standard-Dreieck entfernen */
}
.faq__item summary::-webkit-details-marker { display: none; }
/* Eigenes +/– Zeichen rechts */
.faq__item summary::after {
  content: "+";
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 26px;
  line-height: 1;
  color: var(--accent);
  transition: transform 0.25s ease;
}
.faq__item[open] summary::after { content: "–"; }
.faq__item summary:hover { color: var(--accent); }
.faq__answer { padding: 0 4px 24px; }
.faq__answer p { color: var(--muted); max-width: 72ch; }

/* =============================================================================
   13e. KONTAKTFORMULAR
   ============================================================================= */
.contact-form {
  max-width: 560px;
  margin: 40px auto 0;
  text-align: left;
}
.form-row {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}
.field { display: block; margin-bottom: 18px; }
.field > span {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 8px;
}
.field > span em { font-style: normal; opacity: 0.7; }
.field input,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--panel-2);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--muted); }
.contact-form .btn { width: 100%; margin-top: 6px; }

/* Honeypot-Feld: für Menschen unsichtbar, für Bots eine Falle */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact__alt { margin-top: 22px; font-size: 15px; color: var(--muted); }

/* Aktiver Nav-Link (Scroll-Spy, per JS gesetzt) */
.nav__links a.is-active { color: var(--text); }

/* =============================================================================
   13f. CRM-DEMO (Seite demo.html — illustratives Vertriebs-Dashboard)
   ============================================================================= */
.demopage {
  padding-top: calc(var(--nav-h) + 64px);
  padding-bottom: var(--section-gap);
}
.demopage .section-head { max-width: 760px; }
.demopage h1 { font-size: clamp(34px, 5.5vw, 60px); margin-bottom: 4px; }

/* Rahmen des „Fensters" */
.crm {
  margin-top: 52px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-xl), var(--edge-top);
}

/* Topbar mit Ampel + Tabs + Live-Punkt */
.crm__bar {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 20px;
  background: var(--panel-2);
  border-bottom: 1px solid var(--line);
}
.crm__dots { display: flex; gap: 7px; }
.crm__dots span {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--line);
}
.crm__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--text);
}
.crm__live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.crm__live::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: #35C759;               /* funktionaler Statuspunkt, kein Blinken */
  box-shadow: 0 0 0 3px rgba(53, 199, 89, 0.18);
}

/* Fake-Tabs */
.crm__tabs {
  display: flex;
  gap: 4px;
  padding: 10px 16px 0;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}
.crm__tab {
  flex-shrink: 0;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 2px solid transparent;
}
.crm__tab.is-active { color: var(--text); border-bottom-color: var(--accent); }

.crm__body { padding: clamp(18px, 3vw, 28px); }

/* KPI-Kacheln */
.crm__kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
}
.kpi {
  background: linear-gradient(180deg, #131318 0%, #0E0E11 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm), var(--edge-top);
}
.kpi__label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.kpi__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 30px);
  color: var(--text);
  letter-spacing: -0.01em;
}
.kpi__trend { font-size: 12px; font-weight: 600; color: #35C759; margin-top: 6px; display: block; }

/* Pipeline (Kanban) */
.crm__section-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 30px 0 14px;
}
.crm__pipeline {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(210px, 1fr);
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 6px;
}
.pipe-col {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px;
}
.pipe-col__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.pipe-col__count {
  min-width: 22px;
  text-align: center;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--panel-2);
  color: var(--muted);
  font-size: 12px;
}
.deal {
  background: linear-gradient(180deg, #191920 0%, #141419 100%);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  box-shadow: var(--shadow-sm), var(--edge-top);
  transition: transform 0.3s var(--ease-out), border-color 0.3s var(--ease-out),
              box-shadow 0.3s var(--ease-out);
}
.deal + .deal { margin-top: 10px; }
.deal:hover {
  transform: translateY(-3px);
  border-color: rgba(46, 111, 242, 0.5);
  box-shadow: var(--shadow-md), var(--edge-top);
}
.deal__name { font-weight: 600; font-size: 14px; color: var(--text); }
.deal__meta { font-size: 12px; color: var(--muted); margin-top: 3px; }
.deal__val {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--accent);
}
/* Farbmarker je Spalte oben */
.pipe-col--won .pipe-col__head { color: #35C759; }

/* Automationen */
.crm__auto { display: grid; gap: 10px; }
.auto-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.auto-row__icon {
  flex-shrink: 0;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent);
}
.auto-row__icon svg { width: 17px; height: 17px; }
.auto-row__text { flex: 1; font-size: 14px; color: var(--text); }
.auto-row__text span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.auto-row__state {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  color: #35C759;
  padding: 5px 12px;
  border: 1px solid rgba(53, 199, 89, 0.35);
  border-radius: 999px;
}

/* Hinweis: fiktive Daten */
.crm-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
}

/* CTA unter der Demo */
.crm-cta {
  margin-top: 56px;
  text-align: center;
}
.crm-cta h2 { font-size: clamp(26px, 3.5vw, 40px); margin-bottom: 22px; }

/* =============================================================================
   13g. EINBLICK-VIDEO (Startseite)
   ============================================================================= */
.showcase__media {
  margin-top: 52px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shadow-xl), var(--edge-top);
  line-height: 0;                    /* kein Spalt unter dem Video */
}
.showcase__video,
.showcase__media img {
  display: block;
  width: 100%;
  height: auto;
}
.showcase__cta { margin-top: 26px; }

/* =============================================================================
   14. RECHTSSEITEN (Impressum / Datenschutz)
   ============================================================================= */
.legal {
  padding-top: calc(var(--nav-h) + 72px);
  padding-bottom: var(--section-gap);
}
.legal__inner { max-width: var(--reading); margin-inline: auto; }

.legal h1 { font-size: clamp(34px, 5vw, 52px); margin-bottom: 12px; }
.legal .updated { color: var(--muted); font-size: 15px; margin-bottom: 48px; }

.legal h2 {
  font-size: clamp(20px, 2.4vw, 26px);
  margin-top: 44px;
  margin-bottom: 14px;
}
.legal h3 {
  font-size: 18px;
  margin-top: 26px;
  margin-bottom: 8px;
}
.legal p { color: var(--muted); margin-bottom: 14px; max-width: none; }
.legal strong { color: var(--text); font-weight: 600; }

/* Adress-/Kontaktblock */
.legal address {
  font-style: normal;
  color: var(--text);
  line-height: 1.8;
  padding: 22px 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-block: 8px 20px;
}
.legal address .muted { color: var(--muted); }

.legal a { text-decoration: underline; text-underline-offset: 3px; }

.back-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 56px;
  font-weight: 600;
  color: var(--text);
}
.back-home::before { content: "\2190"; color: var(--accent); } /* ← */
.back-home:hover { text-decoration: none; }

/* =============================================================================
   15. SCROLL-REVEAL & MOTION-PREFERENCES
   ============================================================================= */
/* Reveal-Effekt greift NUR, wenn JS aktiv ist (html.js). Ohne JS bleibt
   alles sofort sichtbar und lesbar. */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(30px) scale(0.985);
  filter: blur(6px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out),
              filter 0.85s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform, filter;
}
html.js [data-reveal].is-visible {
  filter: none;
  opacity: 1;
  transform: none;
}

/* Nutzerwunsch respektieren: keine Bewegung erzwingen */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js [data-reveal] { opacity: 1; transform: none; filter: none; transition: none; }
  .hero::before { filter: blur(64px); }
  * { animation: none !important; }
  .btn, .card, .link-arrow::after { transition: none; }
}
