/* ==========================================================================
   Hanenberg Consulting – Stylesheet
   Schriften lokal eingebunden (DSGVO-konform, keine Anfragen an Dritte)
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-var-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

/* ---------- Design-Tokens ---------- */
:root {
  --bg: #0a0b0d;
  --bg-2: #111317;
  --bg-3: #16181d;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --ink: #f2f3f5;
  --ink-2: #a8adb7;
  --muted: #70757f;
  --accent: #68bdb7;
  --accent-rgb: 104, 189, 183;
  --mint: #68bdb7;
  --btn: #f2f3f5;
  --btn-ink: #0a0b0d;
  --warn: #f5b552;
  --danger: #f47186;
  --grad: linear-gradient(100deg, #f2f3f5 0%, #cbd5dc 55%, #68bdb7 100%);
  --grad-3: linear-gradient(90deg, #68bdb7, #68bdb7);

  --radius: 26px;
  --radius-sm: 16px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 88px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-accent: "Fraunces", Georgia, "Times New Roman", serif;

  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* feines Filmkorn über der ganzen Seite */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; letter-spacing: -0.03em; font-weight: 650; }
button { font: inherit; color: inherit; }

h1 em, h2 em, h3 em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

::selection { background: rgba(255, 255, 255, 0.203); color: #fff; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.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;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
  border-radius: 8px;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.08em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c9cdd4;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}

.section { position: relative; padding-block: clamp(96px, 12vw, 160px); }
.section-head { max-width: 820px; margin-bottom: clamp(48px, 6vw, 72px); }
.section-head h2 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
.section-head p { margin-top: 22px; font-size: 1.15rem; color: var(--ink-2); max-width: 680px; }

/* ---------- Scroll-Fortschritt ---------- */
.progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  height: 2px;
  background: var(--grad-3);
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  background: none;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  color: var(--btn-ink);
  background: var(--btn);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 12px 40px -10px rgba(255, 255, 255, 0.383);
}
.btn-primary::before {
  /* Glanzlicht beim Hover */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.9) 50%, transparent 70%) no-repeat;
  background-size: 250% 100%;
  background-position: 120% 0;
  transition: background-position 0.8s var(--ease);
  pointer-events: none;
}
.btn-primary:hover { background: #ffffff; }
.btn-primary:hover::before { background-position: -60% 0; }

.btn-ghost {
  color: var(--ink);
  border-color: var(--line-2);
  background: rgba(255, 255, 255, 0.03);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.07); }

/* ---------- Header (schwebende Navigation) ---------- */
.site-header {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 60;
  transition: transform 0.4s var(--ease);
}
.site-header .container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 62px;
  padding-inline: calc(var(--gutter) + 10px) calc(var(--gutter) + 8px);
}
.site-header .container::before {
  content: "";
  position: absolute;
  inset: 0 var(--gutter);
  z-index: -1;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(12, 13, 16, 0.45);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled .container::before {
  background: rgba(12, 13, 16, 0.78);
  border-color: var(--line-2);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-mark { width: 34px; height: 34px; flex: none; transition: transform 0.5s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }
.brand-name { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; white-space: nowrap; }
.brand-name span { font-weight: 400; color: var(--ink-2); }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.nav a:hover,
.nav a.is-active { color: var(--ink); background: rgba(255, 255, 255, 0.07); }
.nav .btn {
  min-height: 42px;
  margin-left: 10px;
  padding: 8px 20px;
  font-size: 15px;
  color: var(--btn-ink);
  background: var(--btn);
  box-shadow: 0 8px 24px -8px rgba(255, 255, 255, 0.36);
}
.nav .btn:hover,
.nav .btn.is-active { color: var(--btn-ink); background: #ffffff; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.site-header.is-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.is-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: var(--gutter);
    right: var(--gutter);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--line-2);
    border-radius: 24px;
    background: rgba(15, 16, 20, 0.97);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top center;
    transition: opacity 0.25s ease, transform 0.25s var(--ease), visibility 0.25s;
  }
  .site-header.is-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 14px 16px; font-size: 17px; }
  .nav .btn { margin: 8px 0 0; min-height: 52px; }
}

/* ---------- Dunkle Flächen ---------- */
.dark { position: relative; isolation: isolate; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + clamp(32px, 6vw, 72px));
  padding-bottom: clamp(88px, 10vw, 120px);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  /* feines Raster */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  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: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 55% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 55% 40%, #000 20%, transparent 75%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 180px;
  background: linear-gradient(transparent, var(--bg));
  pointer-events: none;
}
.hero > .container { width: 100%; }

#net {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 7px 16px 7px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
}
.pill .dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
}
.pill .dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--mint);
  animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes ping { 75%, 100% { transform: scale(2.6); opacity: 0; } }

.hero h1 {
  font-size: clamp(2.9rem, 7vw, 5.8rem);
  line-height: 1;
  letter-spacing: -0.045em;
}
.hero h1 .line { display: block; }

.hero-lead {
  max-width: 580px;
  margin: 30px 0 38px;
  font-size: clamp(1.08rem, 1.5vw, 1.25rem);
  color: var(--ink-2);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14.5px;
  color: var(--ink-2);
}
.hero-checks li { display: inline-flex; align-items: center; gap: 9px; }
.hero-checks svg { width: 18px; height: 18px; color: var(--mint); }

.hero-visual {
  position: relative;
  padding: clamp(14px, 2vw, 26px);
  border: 1px solid var(--line-2);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015));
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.25s ease-out;
  transform-style: preserve-3d;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: conic-gradient(from var(--angle), transparent 0 70%, rgba(104, 189, 183, 0.7) 82%, rgba(255, 255, 255, 0.45) 90%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1px;
  animation: spin-angle 6s linear infinite;
}
@keyframes spin-angle { to { --angle: 360deg; } }

.hero-visual svg { width: 100%; height: auto; overflow: visible; }
.flow-node rect { fill: rgba(255, 255, 255, 0.05); stroke: rgba(255, 255, 255, 0.18); }
.flow-node text { fill: #e6e8ec; font-size: 13px; font-weight: 500; font-family: var(--font-sans); }
.flow-label { fill: #70757f; font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; font-family: var(--font-sans); }
.flow-path { fill: none; stroke: rgba(255, 255, 255, 0.14); stroke-width: 1.25; }
.flow-path.dash { stroke: url(#hubGrad); stroke-dasharray: 4 10; stroke-opacity: 0.55; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -28; } }
.hub-title { fill: #fff; font-size: 14px; font-weight: 650; font-family: var(--font-sans); }
.hub-chip text { fill: #171c20; font-size: 11px; font-weight: 700; font-family: var(--font-sans); letter-spacing: 0.06em; }
.hub-orbit { transform-origin: 280px 220px; animation: spin 24s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 580px; }
}

/* ---------- Leistungen (Bento) ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}
.card {
  position: relative;
  grid-column: span 6;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3.4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.3s ease, transform 0.5s var(--ease);
}
.bento .card:nth-child(1) { grid-column: span 7; }
.bento .card:nth-child(2) { grid-column: span 5; }
.bento .card:nth-child(3) { grid-column: span 5; }
.bento .card:nth-child(4) { grid-column: span 7; }

/* Lichtkegel, der der Maus folgt */
.card::before,
.format::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.072), transparent 42%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.card::after,
.format::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(104, 189, 183, 0.75), transparent 45%);
  -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 ease;
  pointer-events: none;
}
.card:hover::before, .card:hover::after,
.format:hover::before, .format:hover::after { opacity: 1; }
.card:hover { transform: translateY(-4px); }

.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 34px; }
.card-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border: 1px solid var(--line-2);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}
.card-icon::after {
  content: "";
  position: absolute;
  inset: 8px;
  z-index: -1;
  border-radius: 50%;
  background: var(--accent);
  filter: blur(22px);
  opacity: 0.12;
}
.card-icon svg { width: 28px; height: 28px; }
.card-num {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 40px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.22);
}
.card-badge {
  padding: 6px 14px;
  border: 1px solid rgba(104, 189, 183, 0.4);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--mint);
  background: rgba(104, 189, 183, 0.08);
}
.card h3 { font-size: clamp(1.5rem, 2.2vw, 1.85rem); margin-bottom: 14px; }
.card > p { color: var(--ink-2); max-width: 560px; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: auto 0 0;
  padding: 18px 0 0;
  list-style: none;
}
.chips li {
  padding: 7px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 14px;
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.3s ease, color 0.3s ease, background-color 0.3s ease, transform 0.3s var(--ease);
}
.card:hover .chips li { border-color: rgba(255, 255, 255, 0.158); color: var(--ink); }
.chips li:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.063); }

@media (max-width: 920px) {
  .bento .card:nth-child(n) { grid-column: span 12; }
}

/* ---------- KI in der Praxis (Live-Demo) ---------- */
.demo {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.demo-tabs { display: flex; flex-direction: column; gap: 6px; }
.demo-tab {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
  width: 100%;
  padding: 14px 18px;
  border: 1px solid transparent;
  border-radius: 18px;
  background: transparent;
  color: var(--ink-2);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.demo-tab:hover { background: var(--surface); color: var(--ink); }
.demo-tab[aria-selected="true"] { background: var(--surface-2); border-color: var(--line-2); color: var(--ink); }
.demo-tab-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--mint);
  background: rgba(104, 189, 183, 0.06);
  transition: background-color 0.3s ease, color 0.3s ease;
}
.demo-tab[aria-selected="true"] .demo-tab-icon { background: var(--grad); color: #0a0b0d; border-color: transparent; }
.demo-tab-icon svg { width: 21px; height: 21px; }
.demo-tab strong { display: block; font-size: 16px; font-weight: 600; line-height: 1.3; }
.demo-tab small { display: block; margin-top: 2px; font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.demo-tab .bar {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.demo-tab.is-running .bar { animation: fill var(--dur, 9s) linear forwards; }
.demo.is-paused .demo-tab .bar { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }

.window {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 470px;
  border: 1px solid var(--line-2);
  border-radius: 24px;
  background: rgba(17, 19, 23, 0.78);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 60px 120px -50px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.window::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 60%;
  height: 80%;
  z-index: -1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.113);
  filter: blur(80px);
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a2d34; }
.window-title { margin-left: 10px; font-size: 13px; color: var(--muted); }
.window-badge {
  margin-left: auto;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--mint);
  background: rgba(104, 189, 183, 0.1);
}
.chat {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 16px;
  padding: clamp(18px, 3vw, 28px);
}
.msg {
  max-width: 90%;
  padding: 14px 18px;
  border-radius: 18px;
  font-size: 15.5px;
  line-height: 1.55;
  animation: msg-in 0.45s var(--ease) both;
}
@keyframes msg-in { from { opacity: 0; transform: translateY(10px) scale(0.98); } }
.msg p { margin: 0; }
.msg p + p { margin-top: 8px; }
.msg-user {
  align-self: flex-end;
  color: #fff;
  background: #262a32;
  border: 1px solid var(--line-2);
  border-bottom-right-radius: 6px;
  box-shadow: 0 14px 30px -14px rgba(255, 255, 255, 0.405);
}
.msg-user.is-typing::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-left: 2px;
  vertical-align: -0.15em;
  background: #fff;
  animation: blink 0.8s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.msg-ai {
  align-self: flex-start;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-bottom-left-radius: 6px;
}
.msg-ai .who {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--mint);
}
.msg-ai .who::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 6px;
  background: var(--grad);
}
.js .chat.is-animated .line { opacity: 0; transform: translateY(6px); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); }
.js .chat.is-animated .line.show { opacity: 1; transform: none; }
.typing { display: inline-flex; gap: 5px; padding: 16px 18px; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-2); animation: bounce 1.2s ease-in-out infinite; }
.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes bounce { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-5px); opacity: 1; } }

.src {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  padding: 4px 11px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--ink-2);
}
.kv { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; font-size: 15px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 500; }
.status { display: flex; align-items: flex-start; gap: 10px; }
.status b { flex: none; display: grid; place-items: center; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; font-size: 12px; }
.status .ok { background: rgba(104, 189, 183, 0.16); color: var(--mint); }
.status .warn { background: rgba(255, 181, 71, 0.16); color: var(--warn); }
.status .err { background: rgba(255, 107, 129, 0.16); color: var(--danger); }
.bars { display: grid; gap: 10px; margin-top: 4px; }
.bars div { display: grid; grid-template-columns: 150px 1fr 42px; gap: 12px; align-items: center; font-size: 14px; }
.bars span { color: var(--ink-2); }
.bars i { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.bars i::after { content: ""; display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--grad); transition: width 1.1s var(--ease) 0.2s; }
.js .chat.is-animated .line:not(.show) .bars i::after { width: 0; }
.bars em { font-style: normal; font-weight: 600; text-align: right; }
.approve { display: inline-flex; gap: 8px; margin-top: 4px; }
.approve span { padding: 6px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; }
.approve span:first-child { background: var(--mint); color: #171c20; }
.approve span:last-child { border: 1px solid var(--line-2); color: var(--ink-2); }

@media (max-width: 980px) {
  .demo { grid-template-columns: 1fr; }
  .demo-tabs {
    flex-direction: row;
    padding-bottom: 4px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .demo-tabs::-webkit-scrollbar { display: none; }
  .demo-tab { flex: none; width: auto; grid-template-columns: 36px auto; gap: 10px; padding: 8px 16px 8px 8px; scroll-snap-align: start; border-color: var(--line); border-radius: 999px; }
  .demo-tab-icon { width: 36px; height: 36px; border-radius: 50%; }
  .demo-tab small { display: none; }
  .demo-tab strong { font-size: 15px; white-space: nowrap; }
  .window { min-height: 440px; }
}
@media (max-width: 520px) {
  .bars div { grid-template-columns: 110px 1fr 38px; font-size: 13px; }
  .msg { max-width: 96%; font-size: 15px; }
}

/* ---------- Einstieg / Formate ---------- */
.formats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.format {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.5s var(--ease);
}
.format:hover { transform: translateY(-6px); }
.format-step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c9cdd4;
}
.format-step span:last-child {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 34px;
  letter-spacing: 0;
  text-transform: none;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.25);
}
.format h3 { font-size: 1.5rem; margin-bottom: 12px; }
.format > p { color: var(--ink-2); }
.format .check-list { margin-top: auto; }
.format-featured {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--bg-3), var(--bg-2)) padding-box,
    conic-gradient(from var(--angle), rgba(255, 255, 255, 0.1) 0 55%, rgba(104, 189, 183, 0.9) 75%, rgba(255, 255, 255, 0.55) 85%, rgba(255, 255, 255, 0.1) 100%) border-box;
  animation: spin-angle 6s linear infinite;
  box-shadow: 0 40px 80px -40px rgba(104, 189, 183, 0.18);
}

.check-list { list-style: none; margin: 8px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); }
.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--ink-2);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(104, 189, 183, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2368bdb7' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

@media (max-width: 980px) {
  .formats { grid-template-columns: 1fr; max-width: 640px; }
}

/* ---------- Vorgehen (Zeitleiste mit Scroll-Füllung) ---------- */
.process {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.process .section-head { position: sticky; top: calc(var(--header-h) + 40px); margin-bottom: 0; }
.steps {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps::before,
.steps::after {
  content: "";
  position: absolute;
  left: 27px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  border-radius: 2px;
  background: var(--line);
}
.steps::after {
  background: var(--grad-3);
  transform-origin: top;
  transform: scaleY(var(--fill, 0));
  box-shadow: 0 0 18px rgba(104, 189, 183, 0.6);
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 26px;
  padding-bottom: clamp(36px, 5vw, 64px);
}
.step:last-child { padding-bottom: 0; }
.step-num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: var(--bg-2);
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 22px;
  color: var(--muted);
  transition: color 0.4s ease, background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.step.is-active .step-num {
  color: #0a0b0d;
  border-color: transparent;
  background: var(--grad);
  box-shadow: 0 0 0 6px rgba(104, 189, 183, 0.1), 0 10px 30px -8px rgba(104, 189, 183, 0.6);
}
.step-body {
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.4s ease, background-color 0.4s ease;
}
.step.is-active .step-body { border-color: var(--line-2); background: rgba(255, 255, 255, 0.04); }
.step h3 { font-size: 1.35rem; margin-bottom: 8px; }
.step p { margin: 0; color: var(--ink-2); }

@media (max-width: 900px) {
  .process { grid-template-columns: 1fr; }
  .process .section-head { position: static; margin-bottom: 48px; }
  .step { grid-template-columns: 56px 1fr; gap: 18px; }
  .step-body { padding: 18px 20px; }
}

/* ---------- Über mich ---------- */
.about-panel {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
  padding: clamp(24px, 4vw, 56px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
}
.portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 26px;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg-2);
  box-shadow: 0 50px 100px -50px rgba(0, 0, 0, 0.9);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait-tag {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(10, 11, 13, 0.5);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.portrait-tag strong { display: block; font-size: 16px; }
.portrait-tag span { font-size: 14px; color: var(--ink-2); }

.about-text h2 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin-bottom: 26px; }
.about-text > p { font-size: 1.08rem; color: var(--ink-2); }
.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 34px 0;
}
.principle {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.3s ease, transform 0.4s var(--ease);
}
.principle:hover { border-color: rgba(104, 189, 183, 0.45); transform: translateY(-3px); }
.principle strong { display: block; margin-bottom: 4px; font-size: 16px; }
.principle span { display: block; font-size: 14.5px; line-height: 1.5; color: var(--muted); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #c9cdd4;
  text-decoration: none;
}
.text-link svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.text-link:hover { color: #fff; }
.text-link:hover svg { transform: translate(3px, -3px); }

@media (max-width: 900px) {
  .about-panel { grid-template-columns: 1fr; }
  .portrait { max-width: 420px; }
}
@media (max-width: 620px) {
  .principles { grid-template-columns: 1fr; }
}

/* ---------- Kontakt ---------- */
.contact {
  position: relative;
  padding: clamp(48px, 8vw, 110px) clamp(24px, 6vw, 80px);
  border: 1px solid var(--line-2);
  border-radius: 40px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg-2);
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000, transparent 75%);
}
.contact .eyebrow { justify-content: center; }
.contact h2 { max-width: 900px; margin: 0 auto 24px; font-size: clamp(2.4rem, 6vw, 4.6rem); }
.contact > p { max-width: 600px; margin: 0 auto; font-size: 1.15rem; color: var(--ink-2); }
.contact .hero-actions { justify-content: center; margin-top: 40px; }
.copy-btn.is-copied { border-color: rgba(104, 189, 183, 0.6); color: var(--mint); }

.contact-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin-top: 40px;
  font-size: 14.5px;
  color: var(--ink-2);
}
.contact-meta a { text-decoration: none; }
.contact-meta a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.contact-meta span { display: inline-flex; align-items: center; gap: 8px; }
.contact-meta svg { width: 17px; height: 17px; color: var(--mint); }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  padding: 32px 0 36px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--muted);
  overflow: hidden;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer a { text-decoration: none; color: var(--muted); }
.site-footer a:hover { color: var(--ink); }

/* ---------- Rechtstexte (Impressum / Datenschutz) ---------- */
.legal-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(56px, 8vw, 104px));
  padding-bottom: clamp(40px, 5vw, 64px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.legal-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(600px 300px at 80% 0%, rgba(255, 255, 255, 0.113), transparent 70%);
}
.legal-hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
.legal {
  max-width: 760px;
  padding-block: clamp(48px, 7vw, 88px);
}
.legal h2 { font-size: 1.4rem; margin: 48px 0 14px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.1rem; margin: 28px 0 10px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 1.2em; }
.legal a { color: #c9cdd4; }

/* Platzhalter (vor dem Livegang ersetzen) */
.ph {
  padding: 1px 6px;
  border-radius: 6px;
  background: rgba(255, 196, 0, 0.22);
  color: var(--ink);
  font-weight: 500;
}

/* ---------- Scroll-Animationen ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Hero-Einstieg */
.js .hero .intro {
  opacity: 0;
  transform: translateY(24px);
  animation: intro 1s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes intro { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .hero .intro { opacity: 1; transform: none; }
}

/* Hintergrundeffekte nicht über den Seitenrand hinausragen lassen */
.section.dark { overflow: hidden; overflow: clip; }

.process .section-head h2 { font-size: clamp(2.2rem, 4.2vw, 3.3rem); }

/* ==========================================================================
   Markenebene: Wortmarke, Farbwelt Graphit/Offwhite/Petrol, Header, Footer
   (ehemals brand.css – überschreibt die Grundwerte oben)
   ========================================================================== */
:root {
  --bg: #181b1e; --bg-2: #1d2125; --bg-3: #23282d;
  --ink: #efeee8; --ink-2: #b8bdc1; --muted: #9fa7ad;
  --accent: #68bdb7; --accent-rgb: 104, 189, 183; --mint: #68bdb7;
  --btn: #efeee8; --btn-ink: #181b1e;
  --grad: linear-gradient(100deg, #c0e2dd, #78c2bc);
  --grad-3: linear-gradient(90deg, #68bdb7, #68bdb7);
  --line: rgba(239,238,232,.09); --line-2: rgba(239,238,232,.16);
  --header-h: 108px;
}
[hidden] { display: none !important; }
body::after { display: none; }
h1, h2, h3 { text-wrap: balance; }
h1 em, h2 em, h3 em { font-family: var(--font-sans); font-style: normal; font-weight: 450; letter-spacing: -.04em; }
.grad-text { background: none; color: #8dcfca; -webkit-text-fill-color: currentColor; }
.eyebrow::before { background: #68bdb7; }
.section { padding-block: clamp(80px, 9vw, 120px); }
.section-head h2 { font-size: clamp(2.15rem, 4.2vw, 3.35rem); line-height: 1.17; }
.section-head p { line-height: 1.75; }
.section-head > .eyebrow { margin-top: 0; font-size: 12px; }
.section-head, .step-body, .about-text, .hero-copy { min-width: 0; }
.section-head h2, .about-text h2, .contact h2 { overflow-wrap: break-word; }

.site-header { top: 18px; }
.site-header .container { height: 78px; gap: 24px; padding-inline: calc(var(--gutter) + 22px); }
.site-header .container::before { border-radius: 16px; background: rgba(24,27,30,.94); border-color: var(--line-2); box-shadow: none; }
.site-header.is-scrolled .container::before { background: rgba(24,27,30,.98); box-shadow: 0 8px 30px rgba(0,0,0,.13); }
.brand { flex-shrink: 0; }
.brand-logo { display: block; width: 181px; height: auto; max-height: 58px; }
.nav { gap: 0; }
.nav a { padding-inline: 12px; font-size: 14px; }
.nav .btn { display: inline-flex; gap: 16px; min-height: 43px; margin-left: 14px; padding: 10px 17px; border-radius: 9px; box-shadow: none; font-size: 14px; }
.nav-toggle { border-radius: 9px; }
.btn { border-radius: 10px; }
.btn-primary { box-shadow: none; }
.btn-primary::before { display: none; }
.btn-ghost { background: transparent; }

.hero { min-height: auto; padding-top: 188px; padding-bottom: 100px; }
.hero::before { opacity: .18; }
.hero h1 { font-size: clamp(2.35rem, 4.15vw, 4.2rem); line-height: 1.13; }
.hero h1 .line { white-space: normal; }
.hero-lead { line-height: 1.8; }
.hero .pill { border: 0; padding: 0; background: none; font-size: 12px; color: #aeb9c1; }
.pill .dot { width: 5px; height: 5px; }
.pill .dot::after { display: none; }
.hero-visual { background: #1d2227; border-color: var(--line-2); border-radius: 20px; box-shadow: none; transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.hero-visual::before, .hero-visual::after { display: none; }
.hero-person { display: inline-flex; align-items: center; gap: 12px; max-width: 100%; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line-2); text-decoration: none; }
.hero-person .hero-headshot { flex: none; width: 42px; height: 42px; border-radius: 50%; object-fit: cover; object-position: 38% 34%; border: 1px solid var(--line-2); }
.hero-person strong, .hero-person small { display: block; }
.hero-person strong { font-size: 14px; font-weight: 550; }
.hero-person small { margin-top: 3px; color: var(--ink-2); font-size: 12px; line-height: 1.5; }
.hero-person-arrow { margin-left: 14px; color: var(--accent); }
.hero-person:hover strong { color: #b9e0db; }

.card, .format { border-radius: 18px; background: #1d2125; }
.card::before, .format::before { display: block; }
.card-badge { background: transparent; border: 1px solid var(--line-2); }
.demo-note { display: flex; align-items: flex-start; gap: 10px; max-width: 730px; margin: -24px 0 28px; color: var(--ink-2); font-size: 13px; line-height: 1.7; }
.demo-note-dot { flex: none; width: 5px; height: 5px; margin-top: 9px; border-radius: 50%; background: var(--accent); }
.window { box-shadow: none; background: #1d2227; }
.window::before { display: none; }
.demo, .window, .chat { min-width: 0; }
.msg { overflow-wrap: anywhere; }

/* Statischer Textfluss verhindert Kollisionen beim Scrollen. */
.process { gap: clamp(36px,5vw,74px); }
.process .section-head { position: static; top: auto; align-self: start; margin-bottom: 0; }
.process h2 { line-height: 1.2; margin-bottom: 24px; }
.process .section-head > p:last-child { margin-top: 0; margin-bottom: 0; }
.steps::after { box-shadow: none; }
.step-num { font-family: var(--font-sans); font-style: normal; font-size: 16px; font-weight: 500; }
.step.is-active .step-num { color: var(--ink); background: #284346; border-color: #507c7d; box-shadow: none; }
.step-body { border-radius: 16px; background: #1d2125; }
.step h3 { line-height: 1.3; }
.step p { line-height: 1.75; }

.about-panel { border-radius: 24px; background: #1d2125; }
.about-text h2 { font-size: clamp(2rem,3.65vw,3rem); line-height: 1.18; }
.about-text > p { line-height: 1.8; }
.portrait { border: 1px solid var(--line-2); border-radius: 18px; box-shadow: none; }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 37% 40%; }
.portrait::after { content: ''; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent,rgba(24,27,30,.6)); pointer-events: none; }
.portrait-tag { z-index: 1; border-radius: 12px; background: rgba(24,27,30,.93); }
.portrait-tag span { display: block; margin-top: 3px; font-size: 12px; }
.principles { grid-template-columns: 1fr; gap: 0; margin-block: 26px; }
.principle { display: grid; grid-template-columns: 145px 1fr; gap: 12px; padding: 14px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; }
.principle:hover { transform: none; border-color: var(--line-2); }
.principle strong { margin: 0; font-size: 14px; }
.principle span { color: var(--ink-2); font-size: 14px; }
.contact { border-radius: 24px; background: #20262b; }
.contact::before { opacity: .12; }
.contact h2 { font-size: clamp(2.1rem,4.7vw,3.8rem); line-height: 1.18; }
.contact > p { line-height: 1.8; }
.contact-meta span { min-width: 0; }
.contact-meta a { overflow-wrap: anywhere; }

.site-footer { padding: 58px 0 26px; background: #14171a; color: var(--ink-2); }
.footer-main { display: grid; grid-template-columns: 1.25fr .8fr 1fr; gap: 56px; padding-bottom: 48px; }
.site-footer a { color: var(--ink-2); }
.site-footer a:hover { color: var(--ink); }
.site-footer .brand { display: inline-flex; }
.brand-footer .brand-logo { width: 200px; max-height: none; }
.footer-identity > p { margin: 25px 0 14px; color: var(--ink); font-size: 20px; font-weight: 450; letter-spacing: -.02em; line-height: 1.5; }
.footer-location { color: var(--ink-2); font-size: 12px; }
.site-footer .footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-width: 0; }
.footer-column h2 { margin: 9px 0 14px; color: var(--accent); font-size: 11px; font-weight: 550; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; }
.footer-column > a { font-size: 14px; line-height: 1.6; }
.footer-column > p { margin: 7px 0 0; color: var(--ink-2); font-size: 12px; }
.footer-mail { max-width: 100%; overflow-wrap: anywhere; }
.footer-contact > a span { margin-left: 6px; color: var(--accent); }
.footer-row { padding-top: 23px; border-top: 1px solid var(--line-2); gap: 20px 30px; font-size: 12px; }
.site-footer .footer-row nav { gap: 20px; }
.site-footer .footer-row a { font-size: 12px; }

@media (min-width: 921px) and (max-width: 1100px) {
  .nav a { padding-inline: 8px; font-size: 12px; }
  .nav .btn { margin-left: 8px; padding-inline: 12px; font-size: 12px; gap: 8px; }
  .site-header .container { gap: 12px; padding-inline: calc(var(--gutter) + 14px); }
  .brand-logo { width: 160px; }
}
@media (max-width: 920px) {
  .site-header { top: 12px; }
  .site-header .container { height: 72px; }
  .site-header .container::before { border-radius: 14px; }
  .nav { border-radius: 14px; gap: 3px; background: #20252a; }
  .nav a { padding: 12px 16px; font-size: 16px; }
  .nav .btn { margin: 8px 0 0; min-height: 48px; font-size: 16px; }
  .hero { padding-top: 158px; padding-bottom: 72px; }
  .hero h1 { font-size: clamp(2.3rem,6.2vw,3.8rem); }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-identity { grid-column: 1 / -1; }
  .footer-column h2 { margin-top: 0; }
}
@media (max-width: 620px) {
}
@media (max-width: 520px) {
  :root { --header-h: 96px; }
  .site-header .container { padding-inline: calc(var(--gutter) + 15px); }
  .brand-logo { width: 153px; }
  .hero h1 { font-size: clamp(1.65rem,6.9vw,2.65rem); }
  .hero-person small { max-width: 215px; }
  .hero-person-arrow { margin-left: 0; }
  .hero-actions .btn { font-size: 14px; padding-inline: 19px; }
  .section-head h2 { font-size: 2.05rem; }
  .principle { grid-template-columns: 1fr; gap: 4px; }
  .site-footer { padding-top: 44px; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; padding-bottom: 34px; }
  .footer-identity { grid-column: auto; }
  .footer-row { align-items: flex-start; flex-direction: column; }
  .demo-note { margin-top: -16px; }
}

/* Vernetzter Sternenhimmel und Maus-Interaktion im neuen Farbschema. */
#net { pointer-events: none; }

/* Gedecktes Petrol als gezielter Farbakzent. */
.hero {
  background: radial-gradient(ellipse at 83% 35%, rgba(57,112,112,.15), transparent 58%),
              radial-gradient(ellipse at 8% 85%, rgba(49,96,91,.10), transparent 52%);
}
.hero-visual { background: linear-gradient(145deg, #202d31, #1c2328 78%); border-color: rgba(104,189,183,.20); }
.hero .pill { color: #a9c4c1; }
.btn-primary { color: #102825; background: #88cbc3; }
.btn-primary:hover { background: #a0d8d0; }
.nav .btn { color: #172925; background: #d5e8e1; }
.nav .btn:hover, .nav .btn.is-active { color: #172925; background: #bfe0d7; }
.nav a.is-active:not(.btn) { color: #a8d9d3; background: rgba(104,189,183,.08); }
.card-icon { color: #a8d8d3; background: rgba(104,189,183,.045); }
.card-badge { color: #a8d8d3; border-color: rgba(104,189,183,.22); background: rgba(104,189,183,.04); }
.step.is-active .step-num { color: #b7ded9; }
.contact { background: linear-gradient(125deg, #253638, #20282d 80%); border-color: rgba(104,189,183,.20); }

/* ==========================================================================
   Erweiterungen: Faktenleiste, Projekte (heller Abschnitt), Häufige Fragen,
   kompakter Header
   ========================================================================== */

/* Header wird beim Scrollen schmaler */
.site-header .container,
.brand-logo { transition: height .35s var(--ease), width .35s var(--ease); }
.site-header.is-scrolled .container { height: 64px; }
.site-header.is-scrolled .brand-logo { width: 150px; }

/* Faktenleiste */
.facts { border-block: 1px solid var(--line); background: #1b1f23; }
.facts-inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-block: 0; list-style: none; }
.fact { padding: 30px 28px; border-left: 1px solid var(--line); }
.fact:first-child { padding-left: 0; border-left: 0; }
.fact strong { display: block; font-size: clamp(1.05rem, 1.45vw, 1.3rem); font-weight: 550; line-height: 1.3; letter-spacing: -.02em; color: var(--ink); }
.fact span { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }

/* Heller Abschnitt */
.section-light {
  --ink: #181b1e; --ink-2: #454c52; --muted: #687076;
  --line: rgba(24,27,30,.10); --line-2: rgba(24,27,30,.18);
  background: #efeee8;
  color: var(--ink);
}
.section-light .eyebrow { color: #2e6f6a; }
.section-light .eyebrow::before { background: #2e6f6a; }

/* Projekte */
.projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.project {
  display: flex; flex-direction: column;
  padding: clamp(24px, 2.6vw, 34px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fbfaf6;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s ease;
}
.project:hover { transform: translateY(-4px); border-color: rgba(46,111,106,.35); box-shadow: 0 24px 50px -30px rgba(24,27,30,.35); }
.project-meta { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 18px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #2e6f6a; }
.project-meta span:last-child { flex: none; white-space: nowrap; color: var(--muted); font-weight: 500; }
.project h3 { margin-bottom: 18px; font-size: 1.25rem; line-height: 1.3; letter-spacing: -.02em; }
.project dl { margin: 0 0 22px; }
.project dt { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.project dd { margin: 4px 0 14px; font-size: 15px; line-height: 1.65; color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: auto 0 0; padding: 0; list-style: none; }
.tags li { padding: 5px 11px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 12.5px; color: var(--ink-2); background: transparent; }
.toolbox { display: flex; align-items: baseline; gap: 22px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.toolbox > p { flex: none; margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.toolbox .tags { margin: 0; }

/* Über mich: Qualifikationen */
.credentials { margin: 4px 0 0; font-size: 13.5px; color: var(--accent); letter-spacing: .01em; }

/* Häufige Fragen */
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 5vw, 74px); align-items: start; }
.faq-grid .section-head { margin-bottom: 0; }
.faq-list { border-top: 1px solid var(--line-2); }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 0;
  font-size: 1.08rem; font-weight: 550; line-height: 1.4;
  list-style: none; cursor: pointer;
  transition: color .2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex: none;
  display: grid; place-items: center;
  width: 30px; height: 30px;
  border: 1px solid var(--line-2); border-radius: 50%;
  font-size: 18px; font-weight: 400; color: var(--accent);
  transition: transform .3s var(--ease), background-color .3s ease;
}
.faq-item summary:hover { color: #b9e0db; }
.faq-item[open] summary::after { transform: rotate(45deg); background: rgba(104,189,183,.1); }
.faq-answer p { max-width: 680px; margin: 0; padding: 0 44px 24px 0; color: var(--ink-2); line-height: 1.75; }

@media (max-width: 1000px) {
  .projects { grid-template-columns: 1fr; max-width: 680px; }
  .facts-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; }
  .toolbox { flex-direction: column; gap: 14px; }
}
@media (max-width: 520px) {
  .site-header .container, .site-header.is-scrolled .container { height: 60px; }
  .brand-logo, .site-header.is-scrolled .brand-logo { width: 122px; }
  :root { --header-h: 80px; }
  .hero { padding-top: 120px; }
  .fact { padding: 22px 14px; }
  .fact:nth-child(odd) { padding-left: 0; }
  .fact strong { font-size: 1rem; }
  .faq-answer p { padding-right: 0; }
}

/* ==========================================================================
   Unterseiten (z. B. Output Management)
   ========================================================================== */
.subpage-hero { padding-bottom: clamp(72px, 9vw, 110px); }
.breadcrumb { display: flex; gap: 10px; margin-bottom: 26px; font-size: 13px; color: var(--muted); }
.breadcrumb a { color: var(--ink-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb [aria-current] { color: #a9c4c1; }

.glance {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(104,189,183,.20);
  border-radius: 20px;
  background: linear-gradient(145deg, #202d31, #1c2328 78%);
}
.glance-title { margin: 0 0 18px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.glance dl { margin: 0; }
.glance dt { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.glance dd { margin: 4px 0 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); font-size: 15.5px; line-height: 1.55; color: var(--ink); }
.glance dd:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }

.definition { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 5vw, 74px); align-items: start; }
.definition .section-head { margin-bottom: 0; }
.definition-text p { font-size: 1.08rem; line-height: 1.8; color: var(--ink-2); }
.definition-text strong { color: var(--ink); font-weight: 550; }

.task-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.task-grid .card { grid-column: auto; }
.task-grid .card-top { margin-bottom: 24px; }
.task-grid .card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.task-grid .card p { margin: 0; font-size: 15.5px; line-height: 1.7; }

.card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 14.5px; font-weight: 600; color: #a8d8d3; text-decoration: none; }
.card-link span { transition: transform .25s var(--ease); }
.card-link:hover { color: #c9ece7; }
.card-link:hover span { transform: translateX(4px); }

.tech-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.tech-group { padding: clamp(22px, 2.6vw, 30px); border: 1px solid var(--line); border-radius: 18px; background: #fbfaf6; }
.tech-group h3 { margin-bottom: 16px; font-size: 1.05rem; letter-spacing: -.01em; }
.tech-more { margin: 28px 0 0; color: var(--ink-2); }
.tech-more a { color: #2e6f6a; font-weight: 600; }

.idea-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 0; padding: 0; list-style: none; }
.idea-list li { padding: 22px 0; border-top: 1px solid var(--line-2); }
.idea-list strong { display: block; margin-bottom: 6px; font-size: 1.05rem; font-weight: 550; }
.idea-list span { display: block; color: var(--ink-2); line-height: 1.7; }

@media (max-width: 1000px) {
  .task-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .definition { grid-template-columns: 1fr; }
  .definition .section-head { margin-bottom: 8px; }
  .idea-list { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .task-grid, .tech-groups { grid-template-columns: 1fr; }
}
