/* ==========================================================================
   Fonts (self-hosted, no external requests)
   ========================================================================== */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  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+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 700;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@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+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-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, 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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ==========================================================================
   Design tokens
   ========================================================================== */
:root {
  --bg-page: #0a0a0f;
  --bg-section: #0d0d14;
  --surface: #131320;
  --surface-2: #14141f;
  --surface-3: #0b0b10;
  --border-soft: rgba(255,255,255,0.08);
  --border-soft-strong: rgba(255,255,255,0.14);
  --text-primary: #f4f3f8;
  --text-muted-72: rgba(244,243,248,0.72);
  --text-muted-68: rgba(244,243,248,0.68);
  --text-muted-60: rgba(244,243,248,0.6);
  --text-muted-45: rgba(244,243,248,0.45);
  --text-muted-40: rgba(244,243,248,0.4);
  --accent-violet: #8b5cf6;
  --accent-violet-hover: #6d28d9;
  --accent-blue: #4d7dfb;
  --accent-blue-hover: #2f5fe0;
  --accent-violet-text: #c4b0fb;
  --accent-blue-text: #a9c2ff;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* ==========================================================================
   Reset & base
   ========================================================================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, blockquote, figure { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

/* ==========================================================================
   Typography utilities
   ========================================================================== */
.h2 {
  margin: 0 0 12px;
  font: 700 clamp(26px, 3.2vw, 38px)/1.2 var(--font-heading);
  letter-spacing: -0.01em;
}
.h2--wide-margin { margin-bottom: 44px; }
.h3 {
  margin: 0 0 10px;
  font: 600 18px var(--font-heading);
}
.lead {
  margin: 0 0 40px;
  font: 400 16px/1.6 var(--font-body);
  color: var(--text-muted-60);
  max-width: 640px;
}
.body-muted {
  font: 400 16px/1.65 var(--font-body);
  color: var(--text-muted-68);
}
.eyebrow {
  display: inline-block;
  font: 600 13px var(--font-mono);
  color: var(--accent-violet);
}
.eyebrow--muted {
  margin-bottom: 14px;
  font-weight: 500;
  color: var(--text-muted-40);
  letter-spacing: 0.02em;
}
.card__text {
  margin: 14px 0 0;
  font: 400 14.5px/1.6 var(--font-body);
  color: var(--text-muted-72);
}
.text-gradient {
  background: linear-gradient(100deg, #6fa8ff 0%, #8b5cf6 55%, #c4b0fb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.text-accent-blue { color: var(--accent-blue-text); }
.text-accent-violet { color: var(--accent-violet-text); }
.link-underline {
  font: 500 14px var(--font-body);
  color: var(--text-muted-60);
  text-decoration: underline;
}
.fine-print {
  display: block;
  font: 400 13px var(--font-body);
  color: var(--text-muted-40);
}
.quote {
  margin: 32px 0 0;
  padding: 22px 24px;
  border-left: 2px solid var(--accent-violet);
  font: italic 400 16px/1.6 var(--font-body);
  color: var(--text-muted-68);
  max-width: 640px;
}
.quote footer {
  margin-top: 10px;
  font: 400 13px var(--font-body);
  color: var(--text-muted-40);
}
.quote--inline { color: var(--text-muted-60); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 15px 30px;
  border-radius: 10px;
  font: 600 15px var(--font-heading);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.btn--primary {
  background: linear-gradient(135deg, var(--accent-violet), var(--accent-blue));
  color: #fff;
  box-shadow: 0 8px 28px rgba(139,92,246,0.35);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(139,92,246,0.45);
}
.btn--secondary {
  padding: 15px 26px;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.18);
}
.btn--secondary:hover { border-color: rgba(255,255,255,0.45); }
.btn--nav { padding: 10px 20px; font-size: 14px; }
.btn--block { width: 100%; padding: 13px 20px; font-size: 14.5px; }

/* ==========================================================================
   Nav
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 18px clamp(24px, 4vw, 56px);
  background: rgba(10,10,15,0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-mark {
  position: relative;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
}
.logo-mark::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 9px;
  background: conic-gradient(from 200deg, var(--accent-blue), var(--accent-violet), var(--accent-violet-text), var(--accent-blue));
  animation: spinSlow 7s linear infinite;
}
.logo-mark__inner {
  position: absolute;
  inset: 5px;
  border-radius: 6px;
  background: var(--bg-page);
  clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%);
}
.logo-mark--small { width: 24px; height: 24px; }
.logo-mark--small::before { border-radius: 7px; animation: none; }
.logo-mark--small .logo-mark__inner { inset: 3px; border-radius: 5px; }
.nav__logo-text {
  font: 700 20px var(--font-heading);
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 32px);
  flex-wrap: wrap;
}
.nav__link {
  font: 500 14px var(--font-body);
  color: var(--text-muted-72);
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav__link:hover { color: var(--text-primary); }
.nav__toggle { display: none; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: clamp(64px, 9vw, 120px) clamp(24px, 6vw, 56px) clamp(48px, 6vw, 80px);
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 680px;
  height: 680px;
  background: radial-gradient(circle, rgba(139,92,246,0.28), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}
.badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(139,92,246,0.12);
  border: 1px solid rgba(139,92,246,0.3);
  font: 500 13px var(--font-mono);
  color: var(--accent-violet-text);
  margin-bottom: 28px;
}
.hero__title {
  position: relative;
  margin: 0 0 22px;
  font: 700 clamp(34px, 5.2vw, 58px)/1.08 var(--font-heading);
  letter-spacing: -0.02em;
  max-width: 860px;
}
.hero__subheadline {
  position: relative;
  display: block;
  margin: -14px 0 22px;
  font: 400 15px/1.5 var(--font-body);
  color: var(--text-muted-45);
}
.hero__lead {
  position: relative;
  margin: 0 0 36px;
  font: 400 clamp(16px, 1.6vw, 19px)/1.6 var(--font-body);
  color: var(--text-muted-68);
  max-width: 600px;
}
.hero__ctas {
  position: relative;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 20px;
}
.hero__disclaimer {
  position: relative;
  font: 400 13px var(--font-body);
  color: var(--text-muted-40);
}

/* Workflow widget — fixed 820x300 design, scaled as a unit to fit narrower screens */
.workflow-wrap {
  position: relative;
  width: 100%;
  max-width: 820px;
  aspect-ratio: 820 / 300;
  margin-top: 56px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--border-soft);
}
.workflow {
  position: absolute;
  top: 0;
  left: 0;
  width: 820px;
  height: 300px;
  transform-origin: top left;
  background-color: var(--surface-3);
  background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1.5px);
  background-size: 22px 22px;
}
.workflow__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.workflow__label {
  position: absolute;
  font: 500 9px var(--font-mono);
  color: var(--text-muted-40);
  transform: translateX(-50%);
}
.workflow__label--yes { color: rgba(169,194,255,0.7); }
.workflow__label--no { color: rgba(196,176,251,0.7); }
.workflow__node { position: absolute; transform: translate(-50%,-50%); }
.workflow__node--diamond { transform: translate(-50%,-50%) rotate(45deg); }
.workflow__icon-box {
  width: 100%;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-hover));
  box-shadow: 0 8px 20px rgba(77,125,251,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}
.workflow__cursor-icon {
  width: 14px; height: 16px;
  background: #fff;
  clip-path: polygon(55% 0%, 10% 55%, 40% 55%, 30% 100%, 90% 40%, 55% 40%);
}
.workflow__caption {
  position: absolute;
  transform: translateX(-50%);
  font: 600 11px var(--font-heading);
  color: rgba(244,243,248,0.8);
  white-space: nowrap;
}
.workflow__caption--small { font: 500 9.5px var(--font-body); color: var(--text-muted-45); font-weight: 500; color: rgba(244,243,248,0.5); }
.workflow__card {
  box-sizing: border-box;
  width: 100%;
  padding: 9px 12px;
  background: var(--surface-2);
  border: 1px solid var(--border-soft-strong);
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  gap: 8px;
}
.workflow__card--tall { height: 60px; }
.workflow__card-icon {
  position: relative;
  width: 24px; height: 24px;
  flex: 0 0 auto;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--accent-violet), var(--accent-blue));
}
.workflow__card-icon--agent span { position: absolute; top: 9px; width: 3px; height: 3px; border-radius: 50%; background: #fff; }
.workflow__card-icon--agent span:first-child { left: 6px; }
.workflow__card-icon--agent span:last-child { right: 6px; }
.workflow__card-icon--team { width: 22px; height: 22px; background: linear-gradient(135deg, var(--accent-blue), var(--accent-violet)); }
.workflow__card-icon--team span { position: absolute; inset: 5px; border-radius: 3px; background: rgba(255,255,255,0.85); }
.workflow__card-icon--mail { width: 22px; height: 22px; background: linear-gradient(135deg, var(--accent-violet), var(--accent-violet-text)); }
.workflow__card-icon--mail span { position: absolute; left: 4px; top: 7px; width: 14px; height: 9px; border: 1.4px solid rgba(255,255,255,0.9); border-radius: 1px; }
.workflow__card-text { display: flex; flex-direction: column; }
.workflow__card-title { display: block; font: 600 12px var(--font-heading); color: var(--text-primary); }
.workflow__card-sub { display: block; font: 400 9.5px var(--font-body); color: var(--text-muted-45); }
.workflow__diamond {
  width: 100%; height: 46px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent-violet), var(--accent-blue));
  box-shadow: 0 8px 18px rgba(139,92,246,0.35);
}
.workflow__dashed-circle {
  position: absolute;
  transform: translate(-50%,-50%);
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1px dashed rgba(244,243,248,0.35);
  display: flex; align-items: center; justify-content: center;
}
.workflow__dashed-circle span:first-child { position: absolute; width: 8px; height: 1.2px; background: rgba(244,243,248,0.5); }
.workflow__dashed-circle span:last-child { position: absolute; width: 1.2px; height: 8px; background: rgba(244,243,248,0.5); }
.workflow__pulse-dot {
  position: absolute;
  transform: translate(-50%,-50%);
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border-soft-strong);
  display: flex; align-items: center; justify-content: center;
  animation: pulseGlow 3.4s ease-in-out infinite;
}
.workflow__pulse-ring { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--accent-blue-text); border-right-color: transparent; }
.workflow__pulse-square { width: 12px; height: 12px; border-radius: 3px; background: var(--accent-violet-text); opacity: 0.8; }
.workflow__pulse-diamond { width: 12px; height: 12px; transform: rotate(45deg); background: var(--accent-blue); opacity: 0.8; }

/* Trust bar */
.trust-bar {
  padding: 20px clamp(24px, 6vw, 56px);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  text-align: center;
}
.trust-bar span {
  font: 500 13px var(--font-mono);
  color: var(--text-muted-45);
}

/* ==========================================================================
   Generic section + reveal
   ========================================================================== */
.section {
  padding: clamp(56px, 7vw, 96px) clamp(24px, 6vw, 56px);
  border-top: 1px solid var(--border-soft);
}
.section--alt { background: var(--bg-section); }

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Card row (problem, leistungen, prozess) */
.card-row { display: flex; gap: 24px; flex-wrap: wrap; }
.card-row--4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.card {
  flex: 1 1 280px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
}
.step {
  flex: 1 1 240px;
  padding-top: 20px;
  border-top: 2px solid var(--accent-violet);
}

/* ==========================================================================
   Ansatz section
   ========================================================================== */
.ansatz__top {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.ansatz__intro { flex: 1 1 380px; }
.ansatz__intro .body-muted { margin: 0 0 24px; }
.ansatz__points {
  flex: 1 1 340px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
}
.point__marker {
  flex: 0 0 auto;
  width: 8px; height: 8px;
  margin-top: 6px;
  border-radius: 2px;
  background: var(--accent-violet);
  transform: rotate(45deg);
}
.point__text {
  font: 400 15px/1.55 var(--font-body);
  color: rgba(244,243,248,0.78);
}

.privacy-box {
  margin-top: 32px;
  padding: 24px;
  background: rgba(139,92,246,0.06);
  border: 1px solid rgba(139,92,246,0.22);
  border-radius: 14px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: center;
}
.privacy-box__text {
  flex: 1 1 320px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font: 400 14.5px/1.6 var(--font-body);
  color: rgba(244,243,248,0.75);
}
.privacy-box__text strong { color: var(--text-primary); }
.privacy-box__dot {
  flex: 0 0 auto;
  width: 8px; height: 8px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--accent-violet);
  box-shadow: 0 0 10px rgba(139,92,246,0.7);
}
.privacy-diagram {
  flex: 1 1 320px;
  position: relative;
  height: 220px;
  min-width: 300px;
  border-radius: 14px;
  border: 1px solid var(--border-soft);
  background-color: var(--surface-3);
  background-image: radial-gradient(rgba(255,255,255,0.09) 1px, transparent 1.5px);
  background-size: 20px 20px;
}
.privacy-diagram svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.privacy-node { position: absolute; transform: translate(-50%,-50%); }
.privacy-card {
  box-sizing: border-box;
  width: 100%;
  padding: 8px 10px;
  background: var(--surface-2);
  border: 1px solid var(--border-soft-strong);
  border-radius: 9px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  gap: 7px;
}
.privacy-card--wide { position: relative; padding: 9px 12px; border-radius: 10px; box-shadow: 0 8px 18px rgba(0,0,0,0.4); gap: 9px; }
.privacy-card__icon { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 6px; background: linear-gradient(135deg, var(--accent-violet), var(--accent-blue)); position: relative; }
.privacy-card__icon--data span { position: absolute; left: 5px; width: 12px; height: 1.6px; background: rgba(255,255,255,0.9); }
.privacy-card__icon--data span:nth-child(1) { top: 6px; }
.privacy-card__icon--data span:nth-child(2) { top: 10px; }
.privacy-card__icon--data span:nth-child(3) { top: 14px; width: 8px; }
.privacy-card__icon--local { width: 26px; height: 26px; background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-hover)); }
.privacy-card__icon--local span { position: absolute; left: 5px; width: 16px; height: 5px; border: 1.3px solid rgba(255,255,255,0.85); border-radius: 1.5px; }
.privacy-card__icon--local span:first-child { top: 5px; }
.privacy-card__icon--local span:last-child { top: 12px; }
.privacy-card__icon--local i { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: var(--accent-blue-text); font-style: normal; left: 8px; }
.privacy-card__icon--local i:first-of-type { top: 6px; }
.privacy-card__icon--local i:last-of-type { top: 13px; }
.privacy-card__icon--eu { width: 26px; height: 26px; background: linear-gradient(135deg, var(--accent-violet), var(--accent-violet-hover)); }
.privacy-card__icon--eu span:first-child { position: absolute; left: 6px; top: 9px; width: 14px; height: 8px; border-radius: 5px; background: rgba(255,255,255,0.85); }
.privacy-card__icon--eu span:last-child { position: absolute; left: 9px; top: 5px; width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.85); }
.privacy-card__title { display: block; padding-right: 18px; font: 600 11px var(--font-heading); color: var(--text-primary); white-space: nowrap; }
.privacy-card__sub { display: block; font: 400 8.5px var(--font-body); color: var(--text-muted-45); }
.privacy-card__text { flex: 1 1 0; min-width: 0; }
.privacy-card__pulse {
  position: absolute; top: 6px; right: 6px;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  animation: pulseGlow 2.6s ease-in-out infinite;
}
.privacy-card__pulse--blue { background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-hover)); box-shadow: 0 0 6px rgba(77,125,251,0.55); }
.privacy-card__pulse--violet { background: linear-gradient(135deg, var(--accent-violet), var(--accent-violet-hover)); box-shadow: 0 0 6px rgba(139,92,246,0.55); animation-duration: 3s; }
.privacy-card__check { width: 6px; height: 4px; border-left: 1px solid #fff; border-bottom: 1px solid #fff; transform: rotate(-45deg); margin-top: -2px; }

/* ==========================================================================
   Leistungen
   ========================================================================== */
.service-card {
  padding: 28px;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.service-card:hover { border-color: rgba(139,92,246,0.35); transform: translateY(-3px); }
.service-icon { position: relative; width: 60px; height: 60px; margin-bottom: 18px; }
.service-icon__ring { position: absolute; inset: 0; border-radius: 16px; background: conic-gradient(var(--accent-blue), var(--accent-violet), var(--accent-blue)); }
.service-icon__mask { position: absolute; inset: 3px; border-radius: 13px; background: var(--bg-section); }
.service-icon svg { position: absolute; inset: 3px; width: 54px; height: 54px; }

/* ==========================================================================
   Case study
   ========================================================================== */
.case__body { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 28px; }
.case__shot {
  flex: 1 1 320px;
  height: 220px;
  border-radius: 14px;
  background: repeating-linear-gradient(135deg, #16161f 0, #16161f 2px, #1c1c27 2px, #1c1c27 14px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.case__shot span { font: 500 13px var(--font-mono); color: var(--text-muted-40); }
.case__facts { flex: 1 1 320px; display: flex; flex-direction: column; gap: 18px; }
.case__fact-text { margin: 8px 0 0 !important; font-size: 15px !important; }

/* ==========================================================================
   Ueber
   ========================================================================== */
.ueber__row { display: flex; gap: 44px; flex-wrap: wrap; align-items: center; }
.ueber__photo {
  flex: 1 1 240px;
  max-width: 280px;
  height: 280px;
  border-radius: 16px;
  background: repeating-linear-gradient(135deg, #16161f 0, #16161f 2px, #1c1c27 2px, #1c1c27 14px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ueber__photo span { font: 500 13px var(--font-mono); color: var(--text-muted-40); }
.ueber__content { flex: 2 1 380px; }
.ueber__content .h2 { margin-bottom: 18px; }
.ueber__content .body-muted { margin: 0 0 20px; }

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.accordion { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.accordion__item { border: 1px solid var(--border-soft); border-radius: 12px; overflow: hidden; }
.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: var(--surface);
  border: none;
  cursor: pointer;
  text-align: left;
  font: 600 15.5px var(--font-heading);
  color: var(--text-primary);
}
.accordion__icon { flex: 0 0 auto; font: 400 18px var(--font-body); color: var(--accent-violet); transition: transform 0.2s ease; }
.accordion__trigger[aria-expanded="true"] .accordion__icon { transform: rotate(45deg); }
.accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: var(--surface);
}
.accordion__panel p {
  margin: 0;
  padding: 0 20px 18px;
  font: 400 14.5px/1.6 var(--font-body);
  color: var(--text-muted-60);
}

/* ==========================================================================
   Kontakt
   ========================================================================== */
.kontakt__row { display: flex; gap: 48px; flex-wrap: wrap; }
.kontakt__intro { flex: 1 1 340px; }
.kontakt__intro .h2 { margin-bottom: 16px; }
.kontakt__lead { margin: 0 0 28px !important; max-width: 420px; color: var(--text-muted-60) !important; }
.kontakt__ctas { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.kontakt__form-wrap { flex: 1 1 380px; }
.form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
}
.form__field input,
.form__field textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-section);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: var(--text-primary);
  font: 400 14px var(--font-body);
}
.form__field textarea { resize: vertical; }
.form__field input:focus,
.form__field textarea:focus { outline: none; border-color: var(--accent-violet); }
.form__field input::placeholder,
.form__field textarea::placeholder { color: var(--text-muted-40); }

/* ==========================================================================
   Legal pages (Impressum / Datenschutz)
   ========================================================================== */
.legal { max-width: 720px; }
.legal__note {
  margin: 0 0 32px;
  padding: 14px 18px;
  background: rgba(139,92,246,0.08);
  border: 1px solid rgba(139,92,246,0.25);
  border-radius: 10px;
  color: var(--text-muted-72);
}
.legal__heading { margin-top: 32px; }
.legal p.body-muted { line-height: 1.7; }
.legal a { color: var(--accent-blue-text); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  padding: 36px clamp(24px, 6vw, 56px);
  border-top: 1px solid var(--border-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__logo { display: flex; align-items: center; gap: 10px; }
.footer__logo-text { font: 600 15px var(--font-heading); }
.footer__legal { display: flex; gap: 20px; }
.footer__legal-link { font: 400 13px var(--font-body); color: var(--text-muted-60); text-decoration: none; }
.footer__legal-link:hover { color: var(--text-primary); }
.footer__meta { font: 400 13px var(--font-body); color: var(--text-muted-40); }

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes floatY2 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(12px); } }
@keyframes pulseGlow { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }
@keyframes spinSlow { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes spinSlowRev { 0% { transform: rotate(360deg); } 100% { transform: rotate(0deg); } }
@keyframes typeDot { 0%, 60%, 100% { transform: translateY(0); opacity: 0.45; } 30% { transform: translateY(-3px); opacity: 1; } }
@keyframes growLine { 0%, 100% { transform: scaleX(0.4); } 50% { transform: scaleX(1); } }
@keyframes puzzleA { 0%, 100% { transform: translate(-3px,-3px); } 50% { transform: translate(0,0); } }
@keyframes puzzleB { 0%, 100% { transform: translate(3px,3px); } 50% { transform: translate(0,0); } }

.float-a { animation: floatY 6s ease-in-out infinite; }
.float-b { animation: floatY2 5.6s ease-in-out infinite; }
.spin { animation: spinSlow 6s linear infinite; }
.spin-rev { animation: spinSlowRev 7s linear infinite; }
.type-dot { transform-origin: center; animation: typeDot 1.3s ease-in-out infinite; }
.type-dot--2 { animation-delay: 0.15s; }
.type-dot--3 { animation-delay: 0.3s; }
.grow-line { transform-origin: left center; animation: growLine 2.4s ease-in-out infinite; }
.grow-line--2 { animation-delay: 0.3s; }
.grow-line--3 { animation-delay: 0.6s; }
.puzzle-a { animation: puzzleA 2.8s ease-in-out infinite; }
.puzzle-b { animation: puzzleB 2.8s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 860px) {
  .nav__toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
  }
  .nav__toggle span { display: block; width: 100%; height: 2px; background: var(--text-primary); border-radius: 2px; }
  .nav__links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding-top: 18px;
  }
  .nav__links.is-open { display: flex; }
  .ueber__photo { max-width: 100%; height: 220px; }
}
