/* ========================================
   Hellwig Digital Engineering – Stylesheet
   Warm Editorial Engineering Aesthetic
   ======================================== */

/* ========================================
   Theme Variables
   ======================================== */
[data-theme="dark"] {
  --bg-primary: #0f0e0c;
  --bg-secondary: #1a1815;
  --bg-card: #242119;
  --bg-card-hover: #2d2a22;
  --text-primary: #f0eeeb;
  --text-secondary: #a09890;
  --text-muted: #6b6560;
  --accent: #e07a4a;
  --accent-hover: #c45d2c;
  --accent-glow: rgba(224, 122, 74, 0.15);
  --accent-subtle: rgba(224, 122, 74, 0.08);
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.12);
  --nav-bg: rgba(15, 14, 12, 0.92);
  --ghost-hover-bg: rgba(255, 255, 255, 0.05);
  --ghost-hover-border: rgba(255, 255, 255, 0.14);
  --selection-bg: rgba(224, 122, 74, 0.3);
  --grain-opacity: 0.025;
}

[data-theme="light"] {
  --bg-primary: #faf9f7;
  --bg-secondary: #f0eeeb;
  --bg-card: #ffffff;
  --bg-card-hover: #f5f3f0;
  --text-primary: #1a1815;
  --text-secondary: #6b6560;
  --text-muted: #a09890;
  --accent: #c45d2c;
  --accent-hover: #a84d24;
  --accent-glow: rgba(196, 93, 44, 0.12);
  --accent-subtle: rgba(196, 93, 44, 0.06);
  --border: rgba(0, 0, 0, 0.07);
  --border-strong: rgba(0, 0, 0, 0.12);
  --nav-bg: rgba(250, 249, 247, 0.92);
  --ghost-hover-bg: rgba(0, 0, 0, 0.04);
  --ghost-hover-border: rgba(0, 0, 0, 0.14);
  --selection-bg: rgba(196, 93, 44, 0.2);
  --grain-opacity: 0.018;
}

:root {
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 16px;
  --font-display: Georgia, 'Palatino Linotype', 'Book Antiqua', 'Palatino', serif;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Cascadia Code', 'SF Mono', 'Consolas', 'Liberation Mono', monospace;
  --max-width: 1200px;
  --transition: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ========================================
   Reset & Base
   ======================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background 0.5s ease, color 0.5s ease;
}

/* Grain texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: var(--grain-opacity);
  mix-blend-mode: overlay;
}

::selection {
  background: var(--selection-bg);
  color: var(--text-primary);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover { color: var(--accent-hover); }

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

/* ========================================
   Custom Scrollbar
   ======================================== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb {
  background: var(--text-muted);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ========================================
   Scroll Progress Bar
   ======================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), #d4a574);
  z-index: 1001;
  transition: width 0.08s linear;
}

/* ========================================
   Navigation
   ======================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 12px 0;
  box-shadow: 0 1px 0 var(--border);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo-brain {
  height: 42px;
  width: auto;
  display: block;
}

.nav-logo span {
  color: var(--accent);
}

.nav-logo:hover { color: var(--text-primary); }

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: clamp(16px, 2.5vw, 32px);
}

.nav-menu a {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color var(--transition);
  white-space: nowrap;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-menu a:hover { color: var(--text-primary); }
.nav-menu a:hover::after { width: 100%; }
.nav-menu a.nav-active { color: var(--accent); }
.nav-menu a.nav-active::after { width: 100%; background: var(--accent); }

/* Submenu — horizontale Leiste unter der Nav */
.has-submenu {
  position: static;
}

.nav-submenu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2vw, 28px);
  padding: 8px 24px;
  margin: 0;
  background: transparent;
  border-top: 1px solid transparent;
  list-style: none;
  z-index: 199;
  transition: background var(--transition), border-color var(--transition);
}

.nav.scrolled .nav-submenu {
  background: var(--nav-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.nav-submenu a {
  font-size: 0.75rem !important;
  font-weight: 500;
  color: var(--text-secondary) !important;
  white-space: nowrap;
  padding: 2px 0;
  transition: color var(--transition);
  letter-spacing: 0.01em;
}

.nav-submenu a::after {
  display: none !important;
}

.nav-submenu a:hover {
  color: var(--accent) !important;
}

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
  transition: all var(--transition) !important;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--accent-hover) !important;
  transform: translateY(-1px);
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Language Switch */
.lang-switch {
  display: flex;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 5px 9px;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.05em;
}

.lang-btn.active {
  background: var(--accent);
  color: #fff;
}

.lang-btn:not(.active):hover {
  color: var(--text-primary);
  background: var(--ghost-hover-bg);
}

/* Theme Toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: none;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
}

.theme-toggle:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-subtle);
}

[data-theme="dark"] .icon-moon { display: none; }
[data-theme="light"] .icon-sun { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========================================
   Hero
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  overflow: clip;
  overflow-clip-margin: 150px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 15% 0%, rgba(224, 122, 74, 0.1), transparent),
    radial-gradient(ellipse 35% 40% at 75% 20%, rgba(212, 165, 116, 0.06), transparent);
}

/* Neon Arc – SVG Sternschnuppe */
.hero-arc {
  position: absolute;
  top: -5%;
  left: -5%;
  width: 110%;
  height: 75%;
  pointer-events: none;
  overflow: visible;
}

.arc-ambient {
  stroke-dasharray: 180 1820;
  filter: blur(120px);
  animation: shootArcAmbient 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.arc-star {
  stroke-dasharray: 180 1820;
  animation: shootArc 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes shootArcAmbient {
  0% {
    stroke-dashoffset: 200;
    opacity: 0;
  }
  8% {
    opacity: 0.06;
  }
  85% {
    opacity: 0.06;
  }
  100% {
    stroke-dashoffset: -1850;
    opacity: 0;
  }
}

@keyframes shootArc {
  0% {
    stroke-dashoffset: 200;
    opacity: 0;
  }
  8% {
    opacity: 0.45;
  }
  85% {
    opacity: 0.45;
  }
  100% {
    stroke-dashoffset: -1850;
    opacity: 0;
  }
}

[data-theme="light"] .hero-bg {
  background:
    radial-gradient(ellipse 50% 60% at 15% 0%, rgba(196, 93, 44, 0.06), transparent),
    radial-gradient(ellipse 35% 40% at 75% 20%, rgba(212, 165, 116, 0.04), transparent);
}

[data-theme="light"] .arc-base {
  stroke: #c45d2c;
  opacity: 0.06;
}

[data-theme="light"] .arc-star {
  stroke: #c45d2c;
}

[data-theme="light"] .arc-ambient {
  stroke: rgba(196,93,44,0.8);
}

.hero-content {
  position: relative;
  text-align: left;
  max-width: 780px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

.highlight {
  background: linear-gradient(135deg, var(--accent), #d4a574);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 16px var(--accent-glow);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  box-shadow: 0 4px 24px rgba(224, 122, 74, 0.25);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-strong);
}

.btn-ghost:hover {
  background: var(--ghost-hover-bg);
  color: var(--text-primary);
  border-color: var(--ghost-hover-border);
  transform: translateY(-1px);
}

.btn-lg { padding: 14px 32px; font-size: 0.95rem; }
.btn-full { width: 100%; }

/* ========================================
   Sections
   ======================================== */
.section {
  padding: clamp(80px, 10vw, 140px) 0;
}

.section-dark {
  background: var(--bg-secondary);
  transition: background 0.5s ease;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  line-height: 1.15;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  max-width: 580px;
  margin: 0 auto 72px;
  line-height: 1.8;
}

/* ========================================
   Comparison Slider
   ======================================== */
.slider-container { max-width: 920px; margin: 0 auto; }

.slider-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
}

.slider-label {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.slider-label-left { color: #c0392b; }
.slider-label-right { color: #27ae60; }

[data-theme="light"] .slider-label-left { color: #c0392b; }
[data-theme="light"] .slider-label-right { color: #1e8449; }

.comparison-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  user-select: none;
  cursor: ew-resize;
  touch-action: none;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
}

.slider-after { width: 100%; }

.slider-before {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
}

.slider-before .mockup {
  position: absolute;
  top: 0;
  left: 0;
  min-width: var(--slider-full-w, 100vw);
  max-width: none;
}

.slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateX(-50%);
  pointer-events: none;
}

.slider-line {
  flex: 1;
  width: 2px;
  background: #fff;
  opacity: 0.7;
}

[data-theme="light"] .slider-line { background: var(--accent); opacity: 1; }

.slider-button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: #1a1815;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  pointer-events: auto;
  cursor: ew-resize;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.slider-button:hover { transform: scale(1.08); }

[data-theme="light"] .slider-button {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 12px rgba(196, 93, 44, 0.3);
}

/* ========================================
   Mockup Styles
   ======================================== */
.mockup { border-radius: var(--radius-lg); overflow: hidden; }

.mockup-browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: #1e293b;
}

.old-browser { background: #c0c0c0; }

.browser-dots { display: flex; gap: 6px; }
.browser-dot { width: 10px; height: 10px; border-radius: 50%; }
.browser-dot.red { background: #ef4444; }
.browser-dot.yellow { background: #eab308; }
.browser-dot.green { background: #22c55e; }

.browser-url {
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  color: #94a3b8;
  font-family: var(--font-mono);
}

.old-browser .browser-url { background: #fff; color: #333; }

.mockup-content { padding: 0; }

/* Old Mockup */
.mockup-old-content {
  background: #ffffff;
  color: #000;
  font-family: 'Times New Roman', Times, serif;
  font-size: 13px;
  line-height: 1.4;
}

.mock-banner-old { background: #000080; color: #ffff00; padding: 6px; font-size: 12px; font-weight: bold; }
.mock-marquee { color: #ffff00; }
.mock-table-old { width: 100%; border-collapse: collapse; }

.mock-sidebar-old {
  width: 160px;
  background: #e8e8e8;
  padding: 12px;
  vertical-align: top;
  border-right: 2px solid #999;
}

.mock-nav-title-old { font-weight: bold; color: #000080; margin-bottom: 8px; }
.mock-link-old { color: #0000ee; cursor: pointer; font-size: 12px; }
.mock-hr-old { border: none; border-top: 1px solid #999; margin: 10px 0; }
.mock-counter-old { font-size: 11px; color: #666; text-align: center; margin-top: 12px; }
.mock-counter-num { font-family: 'Courier New', monospace; background: #000; color: #0f0; padding: 2px 6px; font-size: 13px; }

.mock-main-old { padding: 16px; vertical-align: top; }
.mock-title-old { font-family: 'Comic Sans MS', 'Times New Roman', serif; color: #000080; font-size: 18px; margin-bottom: 12px; }
.mock-text-old { margin-bottom: 10px; font-size: 13px; }
.mock-red-old { color: red; font-weight: bold; }

.mock-hours-old { margin: 10px 0; font-size: 12px; border-collapse: collapse; }
.mock-hours-old td { padding: 2px 12px 2px 0; border-bottom: 1px dotted #ccc; }
.mock-email-icon { display: inline-block; width: 16px; height: 12px; background: #cccccc; vertical-align: middle; }
.mock-update-old { font-size: 11px; color: #999; font-style: italic; }

.mock-footer-old {
  background: #e8e8e8;
  padding: 8px;
  text-align: center;
  font-size: 10px;
  color: #666;
  border-top: 2px solid #999;
}

/* New Mockup */
.mockup-new-content {
  background: #ffffff;
  color: #1e293b;
  font-family: var(--font-body);
  font-size: 13px;
}

.mockup-new .mockup-browser-bar { background: #f1f5f9; }
.mockup-new .browser-url { background: #fff; color: #475569; border: 1px solid #e2e8f0; }

.mock-nav-new {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
}

.mock-nav-new-left { display: flex; align-items: center; gap: 8px; }
.mock-nav-cross { flex-shrink: 0; }
.mock-logo-new { font-weight: 700; font-size: 14px; color: #0f172a; }

.mock-nav-links-new {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 11px;
  color: #64748b;
}

.mock-btn-new {
  background: #0d9488;
  color: #fff;
  padding: 5px 12px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 11px;
}

.mock-hero-new {
  display: flex;
  align-items: stretch;
  background: linear-gradient(135deg, #f0fdfa, #ecfdf5);
}

.mock-hero-img {
  width: 200px;
  flex-shrink: 0;
  background: #e2e8f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #94a3b8;
  font-size: 11px;
}

.mock-hero-text { padding: 28px 24px; flex: 1; }

.mock-hero-new h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.mock-hero-new p { color: #475569; font-size: 12px; margin-bottom: 14px; line-height: 1.5; }

.mock-hero-btns { display: flex; gap: 8px; align-items: center; }

.mock-cta-new {
  display: inline-block;
  background: #0d9488;
  color: #fff;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 12px;
}

.mock-cta-secondary {
  display: inline-block;
  color: #0d9488;
  font-weight: 600;
  font-size: 12px;
  padding: 8px 14px;
  border: 1px solid #99f6e4;
  border-radius: 6px;
}

.mock-info-bar {
  display: flex;
  justify-content: center;
  gap: 28px;
  padding: 10px 24px;
  background: #0f766e;
  color: #fff;
  font-size: 11px;
}

.mock-info-item { display: flex; align-items: center; gap: 6px; }
.mock-info-item svg { opacity: 0.8; }

.mock-features-new { display: flex; flex-direction: column; }

.mock-feature-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px;
  border-bottom: 1px solid #f1f5f9;
}

.mock-feature-card svg { flex-shrink: 0; }
.mock-feature-card h4 { font-size: 12px; font-weight: 600; margin-bottom: 1px; color: #0f172a; }
.mock-feature-card p { font-size: 11px; color: #64748b; }

/* ========================================
   Steps / Prozess
   ======================================== */
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.step {
  flex: 1;
  max-width: 340px;
  text-align: center;
  padding: 0 24px;
  position: relative;
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all var(--transition);
}

.step:hover .step-number {
  background: var(--accent);
  color: #fff;
}

.step-icon {
  color: var(--accent);
  margin-bottom: 16px;
  opacity: 0.8;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.step-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.step-connector {
  width: 60px;
  height: 1px;
  background: var(--border-strong);
  margin-top: 22px;
  flex-shrink: 0;
  position: relative;
}

.step-connector::after {
  content: '';
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid var(--accent);
  border-right: 1px solid var(--accent);
  transform: rotate(45deg);
  opacity: 0.5;
}

/* ========================================
   Features Grid
   ======================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px 28px 28px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid transparent;
  border-radius: var(--radius);
  transition: all var(--transition-slow);
}

.feature-item:hover {
  border-left-color: var(--accent);
  background: var(--bg-card-hover);
  transform: translateX(4px);
}

.feature-icon-wrap {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--accent-subtle);
  color: var(--accent);
  transition: all var(--transition);
}

.feature-item:hover .feature-icon-wrap {
  background: var(--accent);
  color: #fff;
}

.feature-item h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.feature-item p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========================================
   Trust Section
   ======================================== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}

.trust-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-slow);
}

.trust-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition-slow);
}

.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.trust-card:hover::before { transform: scaleX(1); }

.trust-icon {
  color: var(--accent);
  margin-bottom: 20px;
}

.trust-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.trust-card p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.7;
}

.trust-cta { text-align: center; }

/* ========================================
   About / Über mich
   ======================================== */
.about-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 56px;
  align-items: center;
  max-width: 860px;
  margin: 0 auto;
}

.about-photo-placeholder {
  width: 260px;
  height: 320px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 2px dashed var(--border-strong);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: border-color var(--transition);
}

.about-photo-placeholder:hover {
  border-color: var(--accent);
}

.about-photo img {
  width: 260px;
  height: 320px;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.about-text h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.about-text p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 16px;
}

.about-text .btn { margin-top: 12px; }

/* ========================================
   FAQ
   ======================================== */
.faq-list {
  max-width: 740px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: color var(--transition);
}

.faq-question:hover { color: var(--accent); }

.faq-chevron {
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--text-muted);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding-bottom: 22px;
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.75;
}

/* ========================================
   Contact
   ======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Form Styles */
.form-group { text-align: left; }

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.optional { color: var(--text-muted); font-weight: 400; }

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.93rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 12px;
  font-family: var(--font-mono);
  letter-spacing: 0.01em;
}

.form-consent { margin-top: 4px; }

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.consent-label input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}

.consent-label a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-success { text-align: center; padding: 48px; }

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(39, 174, 96, 0.12);
  color: #27ae60;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.form-success p { color: var(--text-secondary); }

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--text-secondary);
}

.contact-detail svg { color: var(--accent); flex-shrink: 0; }
.contact-detail a {
  color: var(--text-primary);
  font-weight: 500;
  transition: color var(--transition);
}
.contact-detail a:hover { color: var(--accent); }

.contact-trust {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-trust span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.83rem;
  color: var(--text-muted);
}

.contact-trust span::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2327ae60' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
  flex-shrink: 0;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 64px 0 28px;
  transition: background 0.5s ease;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 12px;
  font-size: 0.88rem;
  line-height: 1.7;
}

.footer-links h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 18px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.footer-links a {
  display: block;
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-bottom: 10px;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ========================================
   Floating CTA
   ======================================== */
.floating-cta {
  position: fixed;
  bottom: 28px;
  right: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 14px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.88rem;
  box-shadow: 0 4px 24px rgba(224, 122, 74, 0.3);
  transition: all var(--transition);
  z-index: 999;
}

.floating-cta:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(224, 122, 74, 0.4);
}

/* ========================================
   Responsive Devices Showcase
   ======================================== */
.devices-showcase {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(20px, 3vw, 48px);
  padding-top: 16px;
}

/* Laptop */
.device-laptop { width: clamp(320px, 45vw, 520px); }

.device-laptop .device-screen {
  background: #1a1815;
  border-radius: 10px 10px 0 0;
  padding: 6px 6px 0;
  border: 2px solid #33302b;
  border-bottom: none;
}

.device-keyboard {
  background: #2d2a24;
  height: 14px;
  border-radius: 0 0 6px 6px;
  border: 2px solid #33302b;
  border-top: 1px solid #3d3a34;
  display: flex;
  align-items: center;
  justify-content: center;
}

.device-trackpad {
  width: 56px;
  height: 5px;
  background: #3d3a34;
  border-radius: 3px;
}

/* Tablet */
.device-tablet { width: clamp(140px, 18vw, 220px); }

.device-tablet .device-screen {
  background: #1a1815;
  border-radius: 14px;
  padding: 10px 6px;
  border: 2px solid #33302b;
}

/* Phone */
.device-phone { width: clamp(80px, 10vw, 120px); }

.device-phone .device-screen {
  background: #1a1815;
  border-radius: 18px;
  padding: 14px 5px 10px;
  border: 2px solid #33302b;
}

/* Light theme device frames */
[data-theme="light"] .device-laptop .device-screen,
[data-theme="light"] .device-tablet .device-screen,
[data-theme="light"] .device-phone .device-screen {
  background: #e8e5e0;
  border-color: #d5d0c8;
}

[data-theme="light"] .device-keyboard {
  background: #d5d0c8;
  border-color: #d5d0c8;
  border-top-color: #e0ddd7;
}

[data-theme="light"] .device-trackpad { background: #c0bbb3; }

/* Simplified website inside devices */
.device-site {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  font-size: 0;
}

.ds-nav {
  height: 20px;
  background: #f8f7f5;
  border-bottom: 1px solid #ebe8e3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
}

.ds-nav-logo {
  width: 36px;
  height: 6px;
  background: #1a1815;
  border-radius: 2px;
}

.ds-nav-links {
  display: flex;
  gap: 6px;
  align-items: center;
}

.ds-nav-links span {
  width: 16px;
  height: 4px;
  background: #c0bbb3;
  border-radius: 2px;
}

.ds-nav-cta {
  width: 28px !important;
  height: 8px;
  background: var(--accent) !important;
  border-radius: 3px;
}

.ds-hamburger {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ds-hamburger span {
  width: 10px;
  height: 1.5px;
  background: #6b6560;
  border-radius: 1px;
}

.ds-hero {
  display: flex;
  align-items: stretch;
  background: linear-gradient(135deg, #fdf8f4, #faf0e8);
  padding: 12px 10px;
  gap: 10px;
}

.ds-hero-stack {
  flex-direction: column;
  padding: 8px;
  gap: 6px;
}

.ds-hero-left { flex: 1; display: flex; flex-direction: column; gap: 4px; }

.ds-hero-img {
  width: 80px;
  flex-shrink: 0;
  background: #ebe8e3;
  border-radius: 4px;
  min-height: 40px;
}

.ds-hero-img-full {
  width: 100%;
  height: 28px;
}

.ds-line {
  height: 5px;
  border-radius: 3px;
}

.ds-line-lg { width: 85%; background: #1a1815; }
.ds-line-md { width: 65%; background: #a09890; }
.ds-line-sm { width: 45%; background: #c0bbb3; }

.ds-btn {
  width: 48%;
  height: 10px;
  background: var(--accent);
  border-radius: 3px;
  margin-top: 4px;
}

.ds-cards {
  display: flex;
  gap: 5px;
  padding: 8px;
}

.ds-cards-stack { flex-direction: column; }

.ds-card {
  flex: 1;
  padding: 8px 6px;
  background: #faf9f7;
  border-radius: 4px;
  border: 1px solid #ebe8e3;
  display: flex;
  align-items: center;
  gap: 5px;
}

.ds-card-icon {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: rgba(224, 122, 74, 0.12);
  flex-shrink: 0;
}

.ds-card-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ds-card-lines span:first-child {
  width: 80%;
  height: 3px;
  background: #6b6560;
  border-radius: 2px;
}

.ds-card-lines span:last-child {
  width: 55%;
  height: 3px;
  background: #c0bbb3;
  border-radius: 2px;
}

/* Phone adjustments */
.device-phone .ds-nav { height: 14px; padding: 0 5px; }
.device-phone .ds-nav-logo { width: 20px; height: 4px; }
.device-phone .ds-hamburger span { width: 7px; height: 1px; }
.device-phone .ds-hero { padding: 6px; gap: 4px; }
.device-phone .ds-hero-img-full { height: 18px; }
.device-phone .ds-line { height: 3px; }
.device-phone .ds-btn { height: 7px; }
.device-phone .ds-cards { padding: 5px; gap: 3px; }
.device-phone .ds-card { padding: 5px 4px; gap: 3px; }
.device-phone .ds-card-icon { width: 8px; height: 8px; border-radius: 2px; }
.device-phone .ds-card-lines span { height: 2px; }

/* Tablet adjustments */
.device-tablet .ds-nav { height: 16px; padding: 0 6px; }
.device-tablet .ds-nav-logo { width: 28px; height: 5px; }
.device-tablet .ds-hero { padding: 8px; gap: 6px; }
.device-tablet .ds-hero-img-full { height: 22px; }
.device-tablet .ds-line { height: 4px; }
.device-tablet .ds-btn { height: 8px; }
.device-tablet .ds-cards { padding: 6px; gap: 4px; }
.device-tablet .ds-card { padding: 6px 5px; }
.device-tablet .ds-card-icon { width: 10px; height: 10px; border-radius: 3px; }

/* ========================================
   Animations
   ======================================== */
.animate-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero stagger */
.hero-content > .animate-in:nth-child(1) { transition-delay: 0.1s; }
.hero-content > .animate-in:nth-child(2) { transition-delay: 0.25s; }
.hero-content > .animate-in:nth-child(3) { transition-delay: 0.4s; }
.hero-content > .animate-in:nth-child(4) { transition-delay: 0.55s; }

/* Features stagger (2-col grid) */
.features-grid > .animate-in:nth-child(odd) { transition-delay: 0s; }
.features-grid > .animate-in:nth-child(even) { transition-delay: 0.12s; }
.features-grid > .animate-in:nth-child(n+3) { transition-delay: 0.08s; }
.features-grid > .animate-in:nth-child(n+3):nth-child(even) { transition-delay: 0.2s; }
.features-grid > .animate-in:nth-child(n+5) { transition-delay: 0.16s; }
.features-grid > .animate-in:nth-child(n+5):nth-child(even) { transition-delay: 0.28s; }
.features-grid > .animate-in:nth-child(n+7) { transition-delay: 0.24s; }
.features-grid > .animate-in:nth-child(n+7):nth-child(even) { transition-delay: 0.36s; }

/* Trust cards stagger */
.trust-grid > .trust-card:nth-child(1) .animate-in,
.trust-grid > .animate-in:nth-child(1) { transition-delay: 0s; }
.trust-grid > .trust-card:nth-child(2) .animate-in,
.trust-grid > .animate-in:nth-child(2) { transition-delay: 0.12s; }
.trust-grid > .trust-card:nth-child(3) .animate-in,
.trust-grid > .animate-in:nth-child(3) { transition-delay: 0.24s; }

/* ========================================
   Responsive – Large Screens
   ======================================== */
@media (min-width: 1440px) {
  :root { --max-width: 1320px; }
  .hero-content { max-width: 860px; }
  .slider-container { max-width: 1020px; }
  .faq-list { max-width: 820px; }
  .about-grid { max-width: 940px; }
}

@media (min-width: 1920px) {
  :root { --max-width: 1560px; }
  .hero-content { max-width: 940px; }
  .slider-container { max-width: 1120px; }
  .faq-list { max-width: 880px; }
}

@media (min-width: 2560px) {
  :root { --max-width: 1800px; }
  .hero-content { max-width: 1020px; }
}

/* ========================================
   Responsive – Medium Screens
   ======================================== */
@media (max-width: 1024px) {
  .nav-menu { gap: 16px; }
  .trust-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto 48px; }
  .footer-content { grid-template-columns: 1fr 1fr; }
}

/* ========================================
   Responsive – Mobile
   ======================================== */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-secondary);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 24px;
    transition: right var(--transition);
    border-left: 1px solid var(--border);
    z-index: 1001;
  }

  .nav-menu.open { right: 0; }
  .nav-toggle { display: flex; }

  .nav-controls { order: 1; }
  .nav-toggle { order: 2; }

  /* Submenu mobile: inline-Liste unter dem Punkt */
  .nav-submenu {
    position: static;
    flex-direction: column;
    gap: 0;
    padding: 4px 0 8px 16px;
    background: transparent;
    border-top: none;
    border-left: 2px solid var(--accent);
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .nav.scrolled .nav-submenu {
    border-bottom: none;
  }

  .nav-submenu a {
    padding: 4px 12px !important;
    font-size: 0.78rem !important;
  }

  .hero {
    min-height: auto;
    padding: 130px 0 70px;
  }

  .hero-content { text-align: left; }

  .steps { flex-direction: column; align-items: center; }
  .step-connector {
    width: 1px;
    height: 40px;
  }
  .step-connector::after {
    right: -3px;
    top: auto;
    bottom: 0;
    transform: rotate(135deg);
  }

  .features-grid { grid-template-columns: 1fr; }
  .feature-item:hover { transform: translateX(0); }

  .about-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .about-text .btn { margin: 12px auto 0; }

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

  .footer-content { grid-template-columns: 1fr; gap: 32px; }

  .devices-showcase { gap: 12px; }
  .device-laptop { width: 55vw; }
  .device-tablet { width: 22vw; }
  .device-phone { width: 14vw; }
  .device-laptop .device-screen { padding: 4px 4px 0; }
  .device-keyboard { height: 10px; }
  .ds-nav-links { display: none; }
  .device-laptop .ds-nav .ds-hamburger { display: flex; }

  .mock-nav-links-new { display: none; }
  .mock-hero-new { flex-direction: column; }
  .mock-hero-img { width: 100%; height: 100px; }
  .mock-info-bar { flex-direction: column; gap: 6px; align-items: center; }

  .slider-before .mockup { min-width: var(--slider-full-w, 100vw); }

  .floating-cta span { display: none; }
  .floating-cta { padding: 14px; border-radius: 50%; }
}

@media (max-width: 480px) {
  .section-title { font-size: 1.5rem; }
  .section-subtitle { font-size: 0.93rem; margin-bottom: 48px; }
  .btn-lg { padding: 12px 24px; font-size: 0.9rem; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { text-align: center; }
  .pillars-grid { gap: 16px; }
}

/* ========================================
   Hub Page – Pillars Grid
   ======================================== */
.hero-label {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.pillar-card {
  display: flex;
  flex-direction: column;
  padding: 40px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text-primary);
  transition: transform 0.3s, border-color 0.4s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pillar-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.pillar-card:hover::before {
  transform: scaleX(1);
}

.pillar-icon {
  color: var(--accent);
  margin-bottom: 20px;
}

.pillar-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.pillar-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  flex: 1;
}

.pillar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  transition: gap 0.3s;
}

.pillar-card:hover .pillar-link {
  gap: 10px;
}

@media (max-width: 900px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Hub Page – USP Grid
   ======================================== */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 24px;
}

.usp-item {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.usp-number {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.usp-item h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.usp-item p {
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.6;
}

@media (max-width: 700px) {
  .usp-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Breadcrumb
   ======================================== */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 16px;
  transition: color 0.2s;
}

.breadcrumb::before {
  content: '\2190';
}

.breadcrumb:hover {
  color: var(--accent);
}

/* ========================================
   KI-Beratung – Workflow Showcase
   ======================================== */
.workflow-showcase {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 24px;
  position: relative;
}

.workflow-showcase::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: var(--border);
}

.workflow-step {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  position: relative;
}

.workflow-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  z-index: 1;
}

.workflow-content h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.workflow-content p {
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.6;
}

.workflow-result {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 48px;
  padding: 32px;
  background: var(--accent-subtle);
  border: 1px solid var(--accent-glow);
  border-radius: var(--radius-lg);
}

.result-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.result-number {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
}

.result-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

@media (max-width: 700px) {
  .workflow-result {
    flex-direction: column;
    gap: 24px;
  }
}

/* ========================================
   Select element styling
   ======================================== */
select {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  appearance: none;
  cursor: pointer;
  transition: border-color 0.2s;
}

select:focus {
  outline: none;
  border-color: var(--accent);
}
