/* ══════════════════════════════════════════════════
   Studio Sohns – studiosohns.de
   Design System & Styles
   ══════════════════════════════════════════════════ */

/* ── FONT FACES (self-hosted WOFF2 – Fallbacks bis Fonts verfügbar) ── */
@font-face { font-family: 'Syne'; src: url('/assets/fonts/syne-extrabold.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Rajdhani'; src: url('/assets/fonts/rajdhani-bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/assets/fonts/inter-regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/assets/fonts/inter-medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('/assets/fonts/jetbrainsmono-regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }

/* Tokens → variables.css (vor main.css geladen) */

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; touch-action: manipulation; }
button { font-family: inherit; cursor: pointer; border: none; touch-action: manipulation; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ── SKIP-LINK (Barrierefreiheit) ── */
.skip-link {
  position: fixed;
  top: -9999px;
  left: 8px;
  z-index: 9999;
  padding: 8px 16px;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  font-size: 14px;
  border-radius: 0 0 6px 6px;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

/* ── NOISE TEXTURE (D1) ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ── LAYOUT – Abgestuftes Breitensystem ── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  position: relative;
  z-index: 2;
}
.container-wide {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  position: relative;
  z-index: 2;
}
.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  position: relative;
  z-index: 2;
}

.section {
  padding: var(--section-pad) 0;
}

/* Vertikale Gewichtung – unterschiedliche Sektionen, unterschiedliche Präsenz */
.section-lg {
  padding: 140px 0;
}
.section-xl {
  padding: 160px 0;
}

/* Hintergrund-Zonen – bricht die Monotonie der einheitlichen #0d1117 Fläche */
.section-surface {
  background: #0f1319;
  position: relative;
}
.section-surface::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 200, 240, 0.15), transparent);
  pointer-events: none;
}
.section-elevated {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ── SECTION LABEL ── */
.section-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: block;
}

/* ── SEPARATOR ── */
.separator {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border) 25%, var(--border) 75%, transparent);
  margin: 0;
}

/* ── SCROLL FADE (A2) ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger-Delays */
.stagger-1 { transition-delay: 0.06s; }
.stagger-2 { transition-delay: 0.12s; }
.stagger-3 { transition-delay: 0.18s; }
.stagger-4 { transition-delay: 0.24s; }
.stagger-5 { transition-delay: 0.30s; }
.stagger-6 { transition-delay: 0.36s; }
.stagger-7 { transition-delay: 0.42s; }
.stagger-8 { transition-delay: 0.48s; }
.stagger-9 { transition-delay: 0.54s; }
.stagger-10 { transition-delay: 0.60s; }

/* ══════════════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 var(--container-pad);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}
.nav.scrolled {
  background: rgba(13, 17, 23, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: var(--border);
  will-change: transform;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 101;
}
.nav-logo img {
  height: 32px;
  width: auto;
}
.nav-logo-text {
  font-family: var(--font-wordmark);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }

.nav-links .nav-dropdown {
  position: relative;
}
.nav-links .nav-dropdown-trigger {
  font-size: 14px;
  color: var(--muted);
  background: none;
  padding: 0;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links .nav-dropdown-trigger:hover { color: var(--text); }
.nav-dropdown-trigger .chevron {
  font-size: 10px;
  transition: transform 0.2s;
}
.nav-dropdown:hover .chevron { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(13, 17, 23, 0.97);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  will-change: opacity, transform;
  padding: 8px;
  min-width: 250px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
}
.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 14px;
  white-space: nowrap;
  color: var(--muted);
  transition: background 0.15s, color 0.15s;
}
.nav-dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}
.nav-dropdown-menu .badge-free {
  font-family: var(--font-mono);
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  margin-left: auto;
}

.btn-nav {
  padding: 8px 18px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  background: transparent;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.btn-nav:hover {
  background: var(--accent);
  color: var(--bg);
}

/* Mobile Nav */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
  z-index: 101;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════ */
.hero {
  position: relative;
  padding: 180px 0 80px;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, black 0%, black 80%, transparent 100%);
  mask-image: linear-gradient(to right, black 0%, black 80%, transparent 100%);
}
.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 45%,
    rgba(13, 17, 23, 0.95) 0%,
    rgba(13, 17, 23, 0.7) 40%,
    rgba(13, 17, 23, 0.2) 70%,
    transparent 100%);
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 58%;
  height: 100%;
  background: radial-gradient(ellipse 90% 75% at 0% 42%, rgba(0, 200, 240, 0.09) 0%, transparent 65%);
  pointer-events: none;
  z-index: 1;
}
.hero .container-wide {
  z-index: 3;
  display: block;
}
.hero-content {
  max-width: 1180px;
  min-width: 0;
}
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(48px, 6vw, 84px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 32px;
  max-width: 12ch;
  text-wrap: balance;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}
.hero h1 em {
  color: var(--accent);
  font-style: normal;
}
.hero-sub {
  font-size: 20px;
  color: var(--muted);
  max-width: 660px;
  margin-bottom: 44px;
  line-height: 1.7;
}
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}
.chip {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 6px 14px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: 20px;
  color: var(--accent);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.chip:hover {
  border-color: rgba(0, 200, 240, 0.6);
  box-shadow: 0 0 8px rgba(0, 200, 240, 0.15);
}
.hero-ctas {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 4px;
}

.hero-preview {
  width: min(100%, 920px);
  margin: 56px auto 0;
  text-align: center;
}
.hero-preview-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero-preview-label::before {
  content: '';
  width: 28px;
  height: 1px;
  background: rgba(0, 200, 240, 0.5);
}
.hero-preview-copy {
  max-width: 52ch;
  margin: 0 auto 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.hero-preview-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  transition: color 0.2s, transform 0.2s;
}
.hero-preview-link:hover {
  color: var(--accent-hover);
  transform: translateY(-1px);
}
.hero-cta-secondary {
  flex-shrink: 0;
  min-height: 53px;
  padding: 15px 32px;
  font-size: 16px;
  border-radius: var(--radius);
}

/* Hero Artifact – abstrahierter Teaser */
.hero-artifact {
  margin-top: 0;
  max-width: none;
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.35),
    0 4px 12px rgba(0, 0, 0, 0.25);
}
.hero-artifact-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: rgba(22, 27, 34, 0.8);
  border-bottom: 1px solid var(--border);
}
.hero-artifact-dots {
  display: flex;
  gap: 6px;
}
.hero-artifact-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.hero-artifact-dots span:nth-child(1) { background: #ff5f57; }
.hero-artifact-dots span:nth-child(2) { background: #febc2e; }
.hero-artifact-dots span:nth-child(3) { background: #28c840; }
.hero-artifact-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
}
.hero-artifact-body {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--border);
  height: 100px;
}
.hero-artifact-col {
  background: var(--bg);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}
.hero-artifact-line {
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.06);
}
.hero-artifact-line.accent {
  background: rgba(0, 200, 240, 0.15);
}
.hero-artifact-line.w30 { width: 30%; }
.hero-artifact-line.w40 { width: 40%; }
.hero-artifact-line.w50 { width: 50%; }
.hero-artifact-line.w60 { width: 60%; }
.hero-artifact-line.w70 { width: 70%; }
.hero-artifact-line.w80 { width: 80%; }
.hero-artifact-line.w85 { width: 85%; }
.hero-artifact-line.w90 { width: 90%; }
.hero-artifact-block {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.025);
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 32px;
  background: var(--accent);
  color: var(--bg);
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s;
  position: relative;
  overflow: hidden;
}
.btn-arrow {
  flex-shrink: 0;
  transition: transform 0.2s;
}
.btn-primary:hover .btn-arrow,
.btn-outline:hover .btn-arrow,
.btn-nav:hover .btn-arrow {
  transform: translateX(3px);
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0) scale(0.98); }
.btn-ghost {
  color: var(--muted);
  font-size: 16px;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--text); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover {
  background: rgba(0, 200, 240, 0.08);
}

/* ══════════════════════════════════════════════════
   CREDIBILITY BAR
   ══════════════════════════════════════════════════ */
.cred-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
  position: relative;
  z-index: 2;
}
.cred-bar-inner {
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}
.cred-item {
  text-align: center;
}
.cred-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 36px;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1;
}
.cred-label {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
  letter-spacing: 0.05em;
}

/* ══════════════════════════════════════════════════
   LEISTUNGEN
   ══════════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  transition: transform 0.2s ease, border-color 0.2s ease;
  cursor: default;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 200, 240, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.service-card-icon {
  font-size: 26px;
  margin-bottom: 16px;
}
.service-card h3 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.service-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
}

.services-fallback {
  text-align: center;
  padding: 48px;
  margin-top: 32px;
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.015);
}
.services-fallback p {
  color: var(--muted);
  font-size: 16px;
  font-style: italic;
  line-height: 1.7;
}
.services-fallback a {
  color: var(--accent);
  transition: color 0.2s;
}
.services-fallback a:hover { color: var(--accent-hover); }

/* ══════════════════════════════════════════════════
   LIVE DEMO – Application Frame
   ══════════════════════════════════════════════════ */

/* Application Window */
.demo-app {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.5),
    0 8px 24px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  transition: box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.demo-app:hover {
  box-shadow: 0 0 60px rgba(0, 200, 240, 0.05), 0 20px 60px rgba(0, 0, 0, 0.4);
}
/* Soft Glow Halo hinter dem Frame */
.demo-app::before {
  content: '';
  position: absolute;
  inset: -60px;
  z-index: -1;
  background: radial-gradient(ellipse 60% 50% at 50% 50%,
    rgba(0, 200, 240, 0.06) 0%,
    transparent 70%);
  pointer-events: none;
}

/* Window Header */
.demo-app-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
  height: 48px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.demo-app-controls {
  display: flex;
  gap: 7px;
  flex-shrink: 0;
}
.demo-app-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot-close { background: #ff5f57; }
.dot-min { background: #febc2e; }
.dot-max { background: #28c840; }
.demo-app-title {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  flex-shrink: 0;
  padding-right: 8px;
  border-right: 1px solid var(--border);
  margin-right: 4px;
}

/* Tabs im Header */
.demo-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-left: auto;
}
.demo-tabs::-webkit-scrollbar { display: none; }
.demo-tab {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 6px 14px;
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  border: 1px solid transparent;
  white-space: nowrap;
  transition: all 0.2s;
}
.demo-tab.active {
  color: var(--accent);
  border-color: rgba(0, 200, 240, 0.3);
  background: var(--accent-dim);
}
.demo-tab:hover:not(.active) {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

/* Panel Grid */
.demo-container {
  display: grid;
  grid-template-columns: 0.85fr 1fr 1.4fr;
  height: 640px;
}

/* Panels */
.demo-panel {
  background: var(--bg);
  border-right: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.demo-panel:last-child {
  border-right: none;
}
.demo-panel-header {
  padding: 10px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(22, 27, 34, 0.5);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.demo-panel-title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.demo-panel-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 20px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

/* Chat-Panel */
.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.chat-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(8px);
  animation: msgIn 0.3s ease forwards;
}
@keyframes msgIn {
  to { opacity: 1; transform: translateY(0); }
}
.chat-msg-history {
  opacity: 0.5;
  transform: none;
  animation: none;
}
.chat-msg-user {
  align-self: flex-end;
  background: var(--accent);
  color: var(--bg);
  border-radius: 12px 12px 2px 12px;
}
.chat-msg-studio {
  align-self: flex-start;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px 12px 12px 2px;
}
.chat-typing {
  align-self: flex-start;
  display: flex;
  gap: 4px;
  padding: 12px 16px;
}
.chat-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
  animation: typeDot 1.2s ease infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typeDot {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-4px); }
}
.chat-input-bar {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}
.chat-input {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 9px 14px;
  color: var(--text);
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
}
.chat-input:focus { border-color: var(--accent); }
.chat-send {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background 0.2s;
  flex-shrink: 0;
}
.chat-send:hover { background: var(--accent-hover); }

/* Code-Panel */
.code-body {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  white-space: pre;
  tab-size: 2;
}
.code-body .kw { color: #ff7b72; }
.code-body .str { color: #a5d6ff; }
.code-body .cm { color: #7d8590; }
.code-body .tag { color: #7ee787; }
.code-body .attr { color: #d2a8ff; }
.code-body .num { color: #79c0ff; }
.code-cursor {
  display: inline-block;
  width: 1px;
  height: 14px;
  background: var(--accent);
  animation: cursorBlink 1s step-end infinite;
  vertical-align: text-bottom;
}
@keyframes cursorBlink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.preview-spinner {
  width: 28px;
  height: 28px;
  border: 2px solid rgba(0, 200, 240, 0.2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* Preview-Panel */
.preview-url-bar {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 4px 10px;
  flex: 1;
  margin-left: 6px;
}
.preview-body {
  height: 100%;
}
#demo-preview {
  padding: 0;
}
#demo-preview .preview-body > div {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

/* ══════════════════════════════════════════════════
   TOOLS
   ══════════════════════════════════════════════════ */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.tool-card {
  border-radius: var(--radius-lg);
  padding: 48px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.3s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  /* Gradient Border */
  background: linear-gradient(var(--surface), var(--surface)) padding-box,
              linear-gradient(135deg, rgba(0, 200, 240, 0.15), transparent 60%) border-box;
  border: 1px solid transparent;
}
.tool-card:hover {
  transform: translateY(-4px);
  background: linear-gradient(var(--surface), var(--surface)) padding-box,
              linear-gradient(135deg, rgba(0, 200, 240, 0.7), rgba(38, 60, 144, 0.5)) border-box;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), 0 0 20px rgba(0, 200, 240, 0.06);
}
.tool-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: 20px;
  padding: 4px 12px;
  margin-bottom: 20px;
}
.tool-card h3 {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.tool-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 24px;
}
.tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.tag {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid var(--border);
  color: var(--muted);
  transition: border-color 0.3s, color 0.3s;
}
.tool-card:hover .tag {
  border-color: var(--accent-border);
  color: var(--accent);
}
.tool-card .coming-soon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
}

/* ══════════════════════════════════════════════════
   ÜBER MICH
   ══════════════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 64px;
  align-items: start;
}
.about-photo {
  width: 100%;
  border-radius: var(--radius-lg);
  filter: grayscale(100%) contrast(1.05);
  border: 1px solid var(--border);
  aspect-ratio: 3/4;
  object-fit: cover;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.about-name {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.about-role {
  font-size: 16px;
  color: var(--accent);
  margin-bottom: 32px;
  letter-spacing: 0.01em;
}
.about-text p {
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 18px;
  line-height: 1.75;
}
.cert-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.cert-chip {
  font-size: 13px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--muted);
}

/* ══════════════════════════════════════════════════
   VERTRAUENSBASIS
   ══════════════════════════════════════════════════ */
.trust-section {
  background: #0a0a0f;
}
.trust-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 840px;
}
.trust-item {
  display: flex;
  gap: 24px;
  padding: 36px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.trust-item:first-child {
  padding-top: 0;
}
.trust-item:last-child {
  border-bottom: none;
}
.trust-icon {
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}
.trust-item h3 {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.trust-item p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
}
.trust-note {
  margin-top: 48px;
  font-size: 14px;
  color: var(--muted);
  font-style: italic;
}

/* ══════════════════════════════════════════════════
   KONTAKT
   ══════════════════════════════════════════════════ */
.contact-inner {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.contact-inner h2 {
  font-family: var(--font-head);
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  text-wrap: balance;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}
.contact-inner > p {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 44px;
  line-height: 1.7;
}
.contact-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.contact-available {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--muted);
  margin-top: 4px;
}
.ping-wrap {
  position: relative;
  width: 10px;
  height: 10px;
}
.ping-dot {
  position: absolute;
  inset: 0;
  background: var(--green);
  border-radius: 50%;
}
.ping-ring {
  position: absolute;
  inset: 0;
  background: var(--green);
  border-radius: 50%;
  animation: ping 2s ease-out infinite;
}
@keyframes ping {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* Kontaktformular */
.contact-form {
  max-width: 600px;
  margin: 56px auto 0;
  text-align: left;
}
.form-group {
  margin-bottom: 24px;
}
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  color: var(--text);
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(0, 200, 240, 0.12);
}
.form-group textarea {
  min-height: 120px;
  resize: vertical;
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237d8590' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--accent);
}
.form-checkbox label {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}
.form-checkbox a { color: var(--accent); }
.form-hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 16px;
  line-height: 1.6;
}
.form-hint a { color: var(--accent); }
.form-status {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  display: none;
}
.form-status.success {
  display: block;
  background: rgba(63, 185, 80, 0.1);
  border: 1px solid rgba(63, 185, 80, 0.3);
  color: var(--green);
}
.form-status.error {
  display: block;
  background: rgba(248, 81, 73, 0.1);
  border: 1px solid rgba(248, 81, 73, 0.3);
  color: var(--error);
}
/* Honeypot */
.form-hp { position: absolute; left: -9999px; opacity: 0; height: 0; }

/* ══════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  position: relative;
  z-index: 2;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-left img {
  height: 24px;
  width: auto;
}
.footer-left span {
  font-size: 14px;
  color: var(--muted);
}
.footer-right {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
}
.footer-right a {
  color: var(--muted);
  transition: color 0.2s;
}
.footer-right a:hover { color: var(--text); }
.footer-right .copyright {
  color: var(--muted);
}

/* ══════════════════════════════════════════════════
   HEADINGS (global)
   ══════════════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}
h2 {
  font-family: var(--font-head);
  font-size: clamp(22px, 5.5vw, 62px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.06;
  text-wrap: balance;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}
.section-sub {
  color: var(--muted);
  font-size: 19px;
  max-width: 600px;
  margin-bottom: 56px;
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════
   CURSOR GLOW (Desktop only)
   ══════════════════════════════════════════════════ */
#cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 200, 240, 0.06) 0%, transparent 70%);
  pointer-events: none;
  will-change: transform;
  z-index: 1;
  display: none;
}
@media (hover: hover) {
  #cursor-glow { display: block; }
}

/* ══════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root {
    --container-pad: var(--container-pad-mobile);
    --section-pad: var(--section-pad-mobile);
  }

  .container, .container-wide, .container-narrow { max-width: 100%; }
  .section-lg { padding: var(--section-pad-mobile) 0; }
  .section-xl { padding: 80px 0; }

  .nav { padding: 0 var(--container-pad-mobile); }
  /* Menü-Panel: immer im DOM (kein display:none), via visibility/opacity gesteuert.
     Verhindert Layout-Shift und Reflow-Flackern beim Öffnen. */
  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: fixed;
    inset: 64px 0 0 0;
    background: var(--bg);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 32px var(--container-pad-mobile);
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 48px);
    gap: 24px;
    z-index: 999;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease, visibility 0.15s ease;
  }
  /* backdrop-filter auf Nav erzeugt auf iOS einen Containing Block →
     position:fixed Kinder werden relativ zur Nav statt zum Viewport.
     Beim Öffnen: backdrop-filter entfernen. */
  .nav.menu-active,
  .nav.menu-active.scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    will-change: auto;
    background: var(--bg);
  }
  .nav-links.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links.open a { font-size: 18px; }
  .nav-links.open .nav-dropdown {
    width: 100%;
    text-align: center;
  }
  .nav-links.open .nav-dropdown-trigger {
    width: 100%;
    justify-content: center;
  }
  .nav-links.open .nav-dropdown-menu {
    position: static;
    transform: none;
    background: transparent;
    border: none;
    backdrop-filter: none;
    padding: 0;
    min-width: 0;
    text-align: center;
    display: none;
  }
  .nav-links.open .nav-dropdown-menu.open {
    display: block;
    padding: 8px 0 0 0;
    opacity: 1;
    visibility: visible;
  }
  .nav-links.open .nav-dropdown-menu a {
    justify-content: center;
  }
  .nav-links.open .nav-dropdown-menu .badge-free {
    margin-left: 8px;
  }
  .nav-links.open .btn-nav {
    background: var(--accent);
    color: var(--bg);
    border-color: var(--accent);
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 16px;
    border-radius: var(--radius);
    margin-top: 8px;
    flex-shrink: 0;
  }
  .nav-links.open .btn-nav:hover {
    background: var(--accent-hover);
  }
  .nav-hamburger { display: flex; }

  .hero {
    padding: 120px 0 60px;
    min-height: auto;
  }
  .hero h1 {
    font-size: clamp(32px, 8.5vw, 56px);
    max-width: 12ch;
  }
  .hero-sub { font-size: 17px; }
  .hero-glow {
    width: 100%;
    height: 55%;
    top: 0;
    left: 0;
  }
  .hero-canvas {
    -webkit-mask-image: linear-gradient(to right, black 0%, black 65%, transparent 95%);
    mask-image: linear-gradient(to right, black 0%, black 65%, transparent 95%);
  }
  .hero-artifact {
    margin-top: 40px;
  }
  .hero-artifact-body {
    height: 72px;
  }
  .hero-preview {
    width: 100%;
    margin-top: 36px;
    text-align: left;
  }
  .hero-preview-copy {
    max-width: none;
    margin-left: 0;
  }
  .hero-preview-link {
    margin-top: 14px;
  }

  .cred-bar-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
  .cred-num { font-size: 24px; }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .demo-app-header {
    flex-wrap: wrap;
    height: auto;
    padding: 12px 16px;
    gap: 10px;
  }
  .demo-app-title { display: none; }
  .demo-tabs {
    margin-left: 0;
    width: 100%;
    gap: 4px;
  }
  .demo-tab {
    flex: 1;
    padding: 5px 6px;
    font-size: 10px;
    text-align: center;
  }
  .demo-container {
    grid-template-columns: 1fr;
    height: auto;
  }
  .demo-panel {
    height: 360px;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .demo-panel:last-child { border-bottom: none; }

  .tools-grid {
    grid-template-columns: 1fr;
  }
  .tool-card { padding: 28px; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-photo {
    max-width: 100%;
  }
  .about-name { font-size: 28px; }

  .btn-primary:not(.btn-nav),
  .btn-outline:not(.btn-nav) {
    width: 100%;
    justify-content: center;
  }

  .contact-inner { max-width: 100%; }
  .contact-form { max-width: 100%; padding: 0; }
  .contact-buttons { flex-direction: column; align-items: stretch; }
  .contact-buttons .btn-primary,
  .contact-buttons .btn-outline {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 16px;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }
  .footer-left {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .footer-right {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
  }
  .footer-right .copyright {
    width: 100%;
    text-align: center;
  }

  /* h2 mobile */
  h2 { font-size: clamp(20px, 6.5vw, 40px); }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 30px;
    max-width: 11ch;
  }
  .hero-chips { gap: 8px; }
  .chip { font-size: 11px; padding: 5px 12px; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .hero-ctas .btn-primary,
  .hero-ctas .hero-cta-secondary {
    width: 100%;
    justify-content: center;
  }
  .hero-preview-label { justify-content: flex-start; }
  .hero-preview-copy { font-size: 13px; }
  .hero-preview-link { font-size: 13px; }
  .cred-bar-inner { gap: 8px; }
  .cred-num { font-size: 22px; }
  .cred-label { font-size: 11px; }
  .cert-chips { justify-content: center; }
  .service-card { padding: 24px; }
  .pwgen-options { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════
   LEGAL PAGES
   ══════════════════════════════════════════════════ */
.legal-page {
  padding-top: 120px;
  padding-bottom: 100px;
}
.legal-page .container {
  max-width: 820px;
}
.legal-page h1 {
  font-family: var(--font-head);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  line-height: var(--leading-tight);
  letter-spacing: -0.02em;
  margin-bottom: 48px;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}
.legal-page h2 {
  font-size: 22px;
  line-height: var(--leading-snug);
  margin-top: 48px;
  margin-bottom: 16px;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}
.legal-page p,
.legal-page li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 16px;
}
.legal-page a { color: var(--accent); }

/* ══════════════════════════════════════════════════
   PASSWORD GENERATOR PAGE
   ══════════════════════════════════════════════════ */
.tool-page {
  padding-top: 120px;
  padding-bottom: 100px;
}
.tool-page .container {
  max-width: 820px;
}
.tool-breadcrumb {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 36px;
}
.tool-breadcrumb a { color: var(--accent); }
.tool-breadcrumb span { margin: 0 8px; }

.pwgen-container {
  max-width: 640px;
  margin: 0 auto;
}
.pwgen-output {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.pwgen-output-text {
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--text);
  word-break: break-all;
  flex: 1;
  user-select: all;
}
.pwgen-copy {
  padding: 10px 20px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
  transition: background 0.2s;
}
.pwgen-copy:hover { background: var(--accent-hover); }
.pwgen-copy.copied {
  background: var(--green);
}

.pwgen-strength {
  height: 4px;
  border-radius: 2px;
  background: var(--border);
  margin-bottom: 8px;
  overflow: hidden;
}
.pwgen-strength-bar {
  height: 100%;
  border-radius: 2px;
  transition: width 0.3s, background 0.3s;
}
.pwgen-strength-label {
  font-size: 12px;
  margin-bottom: 28px;
}

.pwgen-slider-group {
  margin-bottom: 24px;
}
.pwgen-slider-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}
.pwgen-slider-header label {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}
.pwgen-slider-header span {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--accent);
}
.pwgen-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: var(--border);
  outline: none;
}
.pwgen-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: 2px solid var(--bg);
}
.pwgen-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: 2px solid var(--bg);
}

.pwgen-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}
.pwgen-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s;
}
.pwgen-option:has(input:checked) {
  border-color: var(--accent-border);
}
.pwgen-option input[type="checkbox"] {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
}
.pwgen-option label {
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
}

.pwgen-btn {
  width: 100%;
  padding: 16px;
  background: var(--accent);
  color: var(--bg);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s;
  margin-bottom: 32px;
}
.pwgen-btn:hover { background: var(--accent-hover); }

.pwgen-security {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.pwgen-security-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
.pwgen-security-item .check {
  color: var(--green);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════
   NEUE SEKTIONEN (Premium Transformation v2)
   ══════════════════════════════════════════════════ */

/* ── SOCIAL PROOF BAR ── */
.section--compact { padding: 48px 0; }
.proof-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.proof-bar { text-align: center; }
.proof-label {
  display: block;
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}
.proof-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 12px;
  color: var(--muted);
  font-size: 15px;
}
.proof-sep { color: rgba(125, 133, 144, 0.4); }
@media (max-width: 768px) {
  .proof-items { flex-direction: column; gap: 8px; }
  .proof-sep { display: none; }
}

/* ── KERNFÄHIGKEITEN GRID (3 Spalten) ── */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 64px;
}
@media (max-width: 768px) {
  .capabilities-grid { grid-template-columns: minmax(0, 1fr); }
  .capability-card { min-width: 0; }
}
.capability-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.capability-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-3px);
  box-shadow: 0 4px 24px rgba(0, 200, 240, 0.04);
}
.capability-icon {
  margin-bottom: 20px;
  color: var(--accent);
}
.capability-card h3 {
  font-family: var(--font-head);
  font-size: clamp(18px, 4vw, 24px);
  font-weight: 800;
  margin-bottom: 16px;
}
.capability-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}
.capability-list li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  padding: 6px 0;
  border-bottom: 1px solid rgba(33, 38, 45, 0.5);
}
.capability-list li:last-child { border-bottom: none; }
.capability-link {
  margin-top: auto;
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s;
}
.capability-link:hover { color: var(--accent-hover); }

/* ── ARBEITSWEISE PROCESS GRID ── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 64px;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border) 20%, var(--border) 80%, transparent);
}
@media (max-width: 768px) {
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-grid::before { display: none; }
}
@media (max-width: 480px) {
  .process-grid { grid-template-columns: 1fr; }
}
.process-step { text-align: center; position: relative; }
.process-number {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  background: var(--bg);
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 9999px;
}
.process-step h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}
.process-step p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ── TRUST BAR (komprimiert) ── */
.trust-bar-section {
  padding: 40px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-bar-label {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 36px;
}
.trust-bar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
}
.trust-bar-item svg {
  color: var(--accent);
  flex-shrink: 0;
}
.trust-bar-note {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
}
.trust-bar-note a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.trust-bar-note a:hover { color: var(--accent); }

/* ── WEBSITE CHECK CTA (Startseite) ── */
.wc-cta-card {
  position: relative;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 48px;
  background: var(--surface);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-xl);
  box-shadow: 0 0 60px rgba(0, 200, 240, 0.06), 0 0 120px rgba(0, 200, 240, 0.03);
  overflow: hidden;
}
.wc-cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.wc-cta-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: 9999px;
  padding: 6px 16px;
  margin-bottom: 24px;
}
.wc-cta-card h2 {
  font-family: var(--font-head);
  font-size: clamp(24px, 5vw, 36px);
  color: var(--text);
  margin: 0 0 16px;
  line-height: 1.2;
}
.wc-cta-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 24px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.wc-cta-features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 32px;
}
.wc-cta-features span {
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}
.wc-cta-features span::before {
  content: '✓';
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}
.nav-highlight {
  color: var(--accent) !important;
}
@media (max-width: 768px) {
  .wc-cta-card {
    padding: 40px 24px;
  }
  .wc-cta-features {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
}

/* ── DEMO SECTION GLOW ── */
.demo-section { position: relative; overflow: hidden; }
.demo-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 800px;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 200, 240, 0.08) 0%,
    rgba(99, 102, 241, 0.04) 40%,
    transparent 70%
  );
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}
.demo-section .container-wide { position: relative; z-index: 1; }

/* ── BUTTON MICRO-INTERACTIONS ── */
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s;
}
.btn-primary:hover::after { left: 100%; }

/* ── REVEAL ANIMATIONS (fuer animations.js) ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-child {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-child.revealed {
  opacity: 1;
  transform: translateY(0);
}



/* ── Reduced Motion: alle Animationen deaktivieren ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .fade-up, .fade-up.visible {
    opacity: 1;
    transform: none;
  }
  #cursor-glow { display: none; }
}
