/* ========== CORE & VARIABLES ========== */
:root {
  --bg: #0b0f19;
  --text: #f1f1f1;
  --text-muted: #888;
  --accent: #39ff14;
  --accent-hover: #2da817;
  --card-bg: rgba(255, 255, 255, 0.03);
  --card-border: rgba(255, 255, 255, 0.08);
  --card-shine: rgba(255, 255, 255, 0.05);
  --ws-ease-curtain: cubic-bezier(0.77, 0, 0.175, 1);
  --ws-ease-cine: cubic-bezier(0.16, 1, 0.3, 1);
  transition: background-color 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.8s ease;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  --input-border: rgba(148, 163, 184, 0.2);
  --info-bg: rgba(255, 255, 255, 0.02);
  --radio-bg: rgba(125, 125, 125, 0.05);
  --section-spacing: 60px;
  --section-header-margin: 40px;
}

body.light-mode {
  --bg: #eef2f6;
  --text: #0f172a;
  --text-muted: #475569;
  --accent: #10b981;
  --accent-hover: #059669;
  --card-bg: #f1f5f9;
  --card-border: rgba(15, 23, 42, 0.151);
  --card-shine: rgba(255, 255, 255, 0.4);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --glass-bg: #efefef;
  --glass-border: rgba(0, 0, 0, 0.171);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --input-border: rgba(15, 23, 42, 0.1);
  --info-bg: rgba(238, 238, 238, 0.418);
  --radio-bg: #f8fafc;
  --text-input: #0f172a;
}

/* Global cursor: none erzwingen */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: none !important;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
  height: auto;
}

@font-face {
  font-family: "Inter";
  src: url("Inter/Inter-VariableFont.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
}

/* ========== EXPANDING NAVBAR ========== */
.navbar {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 80px;
  background: linear-gradient(180deg, var(--card-shine), transparent 60%);
  border-right: 1px solid var(--card-border);
  transition: width 0.5s var(--ws-ease-curtain);
  z-index: 10000;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(14px);
}

body.nav-expanded .navbar {
  width: 280px;
}

.navbar,
.navbar *,
.nav-toggle,
.nav-link-new,
.nav-user {
  cursor: pointer !important;
}

.nav-logo {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 14px;
  border-bottom: 1px solid var(--card-border);
  gap: 14px;
}

.logo-icon {
  width: 52px;
  height: 52px;
  display: block;
  flex-shrink: 0;
}

body:not(.light-mode) .logo-icon {
  filter: drop-shadow(0 0 16px rgba(57, 255, 20, 0.12));
}

body.light-mode .logo-icon {
  filter: brightness(0); /* 👈 Macht SVG schwarz */
}

.logo-wordmark {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: var(--text);
  display: none;
}

body.nav-expanded .logo-wordmark {
  display: block;
}

.logo-sos {
  color: var(--accent);
  font-weight: 900;
}

/* Nav-Toggle entfernt */

.nav-items {
  list-style: none;
}

.nav-item {
  position: relative;
  margin: 15px 12px;
}

.nav-link-new {
  display: flex;
  align-items: center;
  height: 52px;
  padding: 0 16px;
  border-radius: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease,
    transform 0.25s var(--ws-ease-cine);
  position: relative;
  overflow: hidden;
}

.nav-link-new:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.nav-link-new:hover::before {
  transform: scaleY(1);
}

.nav-link-new.active {
  color: var(--accent);
}

.nav-link-new.active::before {
  transform: scaleY(1);
}

.nav-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.75;
}

.nav-text {
  margin-left: 14px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.25s ease 0.08s,
    transform 0.35s var(--ws-ease-cine) 0.08s;
  white-space: nowrap;
  color: currentColor;
}

body.nav-expanded .nav-text {
  opacity: 1;
  transform: translateX(0);
}

.nav-tooltip {
  position: absolute;
  left: 80px;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(180deg, var(--card-shine), transparent),
    var(--card-bg);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  border: 1px solid var(--card-border);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(14px);
  z-index: 20;
}

.nav-item:hover .nav-tooltip {
  opacity: 1;
  transition-delay: 0.55s;
}

body.nav-expanded .nav-tooltip {
  display: none;
}

/* VERSTECKE HAMBURGER MENU KOMPLETT */
.hamburger-menu,
.mobile-menu-toggle,
.hamburger-line {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* ========== MOBILE MENU ========== */
.mobile-menu-btn,
.mobile-overlay-menu {
  display: none;
}

@media (max-width: 768px) {
  /* KEIN CURSOR */
  #custom-cursor,
  #cursor-dot,
  .cursor,
  .cursor-follower,
  .custom-cursor,
  [id*="cursor"],
  [class*="cursor"]:not(.hamburger-line) {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    transform: scale(0) !important;
  }
  *,
  *::before,
  *::after,
  html,
  body,
  a,
  button,
  input,
  textarea,
  select,
  div,
  span {
    cursor: none !important;
  }

  /* SEARCH BAR FIX */
  .fake-search-bar {
    max-width: 100%;
    overflow: hidden;
  }
  .typing-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
  }

  /* UMSATZ BARS MOBILE */
  .revenue-bars {
    gap: 8px;
  }
  .revenue-bar {
    height: 14px;
  }

  /* NAVBAR VERSTECKEN */
  .navbar {
    display: none !important;
  }
  .mode-toggle {
    display: none !important;
  }

  /* HAMBURGER */
  .mobile-menu-btn {
    display: flex !important;
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    z-index: 10003;
    cursor: none !important;
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    transition: all 0.3s ease;
  }
  .mobile-menu-btn:hover {
    border-color: var(--accent);
    transform: scale(1.05);
  }

  .hamburger-line {
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  body.mobile-menu-open .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background: var(--accent);
  }
  body.mobile-menu-open .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
  }
  body.mobile-menu-open .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background: var(--accent);
  }

  /* OVERLAY */
  .mobile-overlay-menu {
    display: block !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg);
    z-index: 10002;
    opacity: 0;
    visibility: hidden;
    overflow-y: auto;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    cursor: none !important;
  }
  body.mobile-menu-open .mobile-overlay-menu {
    opacity: 1;
    visibility: visible;
  }

  .mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 100px 20px 60px;
    gap: 12px;
  }

  .mobile-nav-item {
    width: 100%;
    max-width: 320px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  body.mobile-menu-open .mobile-nav-item {
    opacity: 1;
    transform: translateY(0);
  }
  body.mobile-menu-open .mobile-nav-item:nth-child(1) {
    transition-delay: 0.1s;
  }
  body.mobile-menu-open .mobile-nav-item:nth-child(2) {
    transition-delay: 0.15s;
  }
  body.mobile-menu-open .mobile-nav-item:nth-child(3) {
    transition-delay: 0.2s;
  }
  body.mobile-menu-open .mobile-nav-item:nth-child(4) {
    transition-delay: 0.25s;
  }
  body.mobile-menu-open .mobile-nav-item:nth-child(5) {
    transition-delay: 0.3s;
  }
  body.mobile-menu-open .mobile-nav-item:nth-child(6) {
    transition-delay: 0.35s;
  }
  body.mobile-menu-open .mobile-nav-item:nth-child(7) {
    transition-delay: 0.4s;
  }

  .mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: none !important;
    width: 100%;
  }
  .mobile-nav-link:hover,
  .mobile-nav-link.active {
    background: rgba(57, 255, 20, 0.14);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateX(8px);
  }

  .mobile-nav-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .mobile-nav-icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 1.75;
  }

  .mobile-mode-toggle {
    justify-content: space-between !important;
  }
  .mobile-mode-toggle:hover {
    background: rgba(57, 255, 20, 0.1) !important;
    transform: translateX(0) !important;
  }

  .theme-icon-moon,
  .theme-icon-sun {
    width: 22px !important;
    height: 22px !important;
  }
  body.light-mode .theme-icon-moon {
    display: none;
  }
  body.light-mode .theme-icon-sun {
    display: block !important;
  }
  body:not(.light-mode) .theme-icon-sun {
    display: none;
  }
  body.light-mode .theme-dark-text {
    display: none;
  }
  body.light-mode .theme-light-text {
    display: inline !important;
  }
}

/* ========== INTRO LOADER ========== */
#intro-layer {
  position: fixed;
  inset: 0;
  z-index: 99999; /* Sehr hoch, damit es über Elementor/WP Admin Bar liegt */
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: all; /* Blockiert Klicks während des Ladens */
  background: transparent;
  font-family: "Inter", -apple-system, sans-serif;
}

/* Styling für das Bild-Logo */
.intro-logo {
  width: 55px; /* Größe anpassen nach Wunsch */
  height: auto;
  /* Start-Zustand (unsichtbar) */
  opacity: 0;
  transform: translateY(40px);
  filter: blur(10px);

  /* Animation (dieselbe wie der Text, aber startet sofort) */
  animation: cinematicIn 1.2s var(--ws-ease-cine) forwards;
  animation-delay: 0s;
}

body.light-mode .intro-logo {
  filter: brightness(0) saturate(100%) !important;
}

/* Optional: Text etwas später starten lassen, damit das Logo zuerst kommt */
.ws-char:nth-child(1) {
  animation-delay: 0.15s;
}
.ws-char:nth-child(2) {
  animation-delay: 0.2s;
}
.ws-char:nth-child(3) {
  animation-delay: 0.25s;
}
/* ... die restlichen verschieben sich automatisch durch die Logik ... */

/* Responsive Anpassung für Mobile */
@media (max-width: 768px) {
  .intro-logo {
    width: 200px; /* Etwas kleiner auf Handys */
    margin-bottom: 15px;
  }
}

/* Die schwarzen Vorhänge */
.shutter {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 51%; /* Leichte Überlappung um weiße Linien zu vermeiden */
  background: #0b0f19;
  z-index: 1;
  transition: transform 1.4s var(--ws-ease-curtain);
  will-change: transform;
}

.shutter-left {
  left: 0;
}
.shutter-right {
  right: 0;
}

/* Grain Effekt (Rauschen) */
.shutter::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2.5' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
}

/* Klasse zum Öffnen der Vorhänge */
.intro-open .shutter-left {
  transform: translateX(-100%);
}
.intro-open .shutter-right {
  transform: translateX(100%);
}
.intro-open {
  pointer-events: none !important;
} /* Klicks wieder erlauben */

/* Inhalt (Logo & Ladebalken) */
.intro-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: opacity 0.4s ease, transform 0.4s ease, filter 0.4s ease;
}

/* Zustand kurz vor dem Öffnen */
.intro-ready .intro-content {
  opacity: 0;
  transform: scale(0.92);
  filter: blur(10px);
}

/* LOGO Styling */
.logo-wrapper {
  margin-bottom: 60px;
}

@keyframes cinematicIn {
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

/* === WICHTIG: Die Sperre (Damit Hover erst NACH dem Intro geht) === */
body.locked .split-side,
body.locked #mode-selector,
body.locked .mock-card {
  pointer-events: none !important;
  transition: none !important; /* Verhindert das "Zucken" im Hintergrund */
}

/* === Die klassische Shutter Animation (Clean) === */
.shutter {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 51%;
  background: #0b0f19;
  z-index: 1;
  /* Hier die originale, saubere Transition */
  transition: transform 1.4s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: transform;
}

.shutter-left {
  left: 0;
}
.shutter-right {
  right: 0;
}

/* Einfaches Aufschieben ohne Verzerrung */
.intro-open .shutter-left {
  transform: translateX(-100%);
}
.intro-open .shutter-right {
  transform: translateX(100%);
}

/* Kleiner Ladebalken unten */
.audio-loader {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 50px;
  opacity: 0;
  animation: fadeInLoader 0.8s ease forwards 0.8s;
}

.loader-bar {
  width: 5px;
  height: 18px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  animation: pulseLoader 1.2s ease-in-out infinite;
  transition: all 0.3s ease;
}

.loader-bar:nth-child(1) {
  animation-delay: 0s;
}
.loader-bar:nth-child(2) {
  height: 32px;
  animation-delay: 0.15s;
}
.loader-bar:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes pulseLoader {
  0%,
  100% {
    background: rgba(255, 255, 255, 0.2);
    transform: scaleY(1);
    box-shadow: 0 0 0 rgba(255, 61, 0, 0);
  }
  50% {
    background: var(--accent);
    transform: scaleY(1.6);
  }
}
@keyframes fadeInLoader {
  to {
    opacity: 1;
  }
}

.split-line {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 0%;
  background: #ffffff;
  z-index: 20;
  box-shadow: 0 0 20px rgba(139, 139, 139, 0.534);
  opacity: 0;
  transition: height 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
}

.line-shoot .split-line {
  height: 100%;
  opacity: 1;
}
.intro-open .split-line {
  opacity: 0;
  transition: opacity 0.3s ease 0.4s;
}

/* Responsive Anpassung */
@media (max-width: 768px) {
  .logo-wrapper {
    gap: 2px;
    margin-bottom: 40px;
  }
}

/* ========== MODE SELECTOR ========== */
.preview-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.mock-card {
  position: absolute;
  width: 200px;
  height: 120px;
  border-radius: 12px;
  opacity: 0;
  transform: translateY(100px) scale(0.8) rotate(0deg);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dark-card {
  background: #0e0d0d;
  border: 1px solid rgba(14, 167, 0, 0.3);
  box-shadow: 0 0 30px rgba(46, 126, 0, 0.1);
  backdrop-filter: blur(5px);
}

.dark-card::after {
  content: "";
  position: absolute;
  top: 15px;
  left: 15px;
  width: 40px;
  height: 4px;
  background: #39ff14;
  border-radius: 2px;
  box-shadow: 0 10px 0 rgba(255, 255, 255, 0.1),
    0 20px 0 rgba(255, 255, 255, 0.1);
}

.dark-card-1 {
  z-index: 3;
  transform: translate(-40px, 100px) rotate(-10deg);
}

.dark-card-2 {
  z-index: 2;
  transform: translate(40px, 120px) rotate(5deg);
  width: 220px;
}

.dark-card-3 {
  z-index: 1;
  transform: translate(0px, 140px) rotate(0deg);
  width: 180px;
}

.light-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.light-card::after {
  content: "";
  position: absolute;
  top: 15px;
  left: 15px;
  width: 40px;
  height: 4px;
  background: #059669;
  border-radius: 2px;
  box-shadow: 0 10px 0 #e0e0e0, 0 20px 0 #e0e0e0;
}

.light-card-1 {
  z-index: 3;
  transform: translate(40px, 100px) rotate(10deg);
}

.light-card-2 {
  z-index: 2;
  transform: translate(-40px, 120px) rotate(-5deg);
  width: 220px;
}

.light-card-3 {
  z-index: 1;
  transform: translate(0px, 140px) rotate(0deg);
  width: 180px;
}

.split-side:hover .mock-card {
  opacity: 1;
}

.split-side:hover .dark-card-2 {
  transform: translate(-60px, -20px) rotate(-15deg);
  transition-delay: 0.1s;
}

.split-side:hover .dark-card-3 {
  transform: translate(60px, 0px) rotate(7deg);
  transition-delay: 0.2s;
}

.split-side:hover .dark-card-1 {
  transform: translate(0px, -50px) rotate(-5deg);
  transition-delay: 0s;
}

.split-side:hover .light-card-1 {
  transform: translate(60px, -20px) rotate(15deg);
  transition-delay: 0.1s;
}

.split-side:hover .light-card-2 {
  transform: translate(-30px, -10px) rotate(-10deg);
  transition-delay: 0.2s;
}

.split-side:hover .light-card-3 {
  transform: translate(0px, -50px) rotate(5deg);
  transition-delay: 0s;
}

.split-side:hover .mode-content {
  transform: translateY(120px) scale(1.1);
}

#mode-selector {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 19000;
  display: flex;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.5s ease, visibility 0s 0.5s;
}

#mode-selector.active {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.split-side {
  width: 50%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: none !important;
  transition: width 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  overflow: hidden;
}

.split-side:hover {
  width: 65%;
}

#mode-selector:hover .split-side:not(:hover) {
  width: 40%;
}

.side-dark {
  background-color: var(--bg);
  color: #f1f1f1;
}

.side-light {
  background-color: #eef2f6;
  color: #151515;
}

.mode-content {
  text-align: center;
  transition: transform 0.4s ease;
  z-index: 2;
}

.side-dark .mode-content h2 {
  border-bottom: 4px solid #39ff14;
}
.side-light .mode-content h2 {
  border-bottom: 4px solid #059669;
}

.split-side h2 {
  font-size: 4rem;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 5px;
}

.mode-desc {
  font-size: 1rem;
  opacity: 0.7;
  letter-spacing: 1px;
  text-transform: uppercase;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== HERO CANVAS ========== */
#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* ========== CUSTOM CURSOR ========== */
#custom-cursor {
  position: fixed;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #ffffff;
  pointer-events: none;
  z-index: 99999 !important;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  transition: width 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
    height 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#custom-cursor.cursor-large {
  width: 45px;
  height: 45px;
}

/* ========== NAVIGATION & UI ========== */
#progress-container {
  position: fixed;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  transition: opacity 0.5s;
}

#progress-bar-bg {
  width: 7px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

body.light-mode #progress-bar-bg {
  background: rgba(0, 0, 0, 0.1);
}

#progress-bar-fill {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0%;
  background: var(--accent);
  transition: height 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 0 0 10px 10px;
}

/* LIQUID WAVE EFFEKT */
#progress-bar-fill::before {
  content: "";
  position: absolute;
  top: -8px;
  left: -50%;
  right: -50%;
  height: 16px;
  background: var(--accent);
  border-radius: 50%;
  animation: wave-motion-slow 8s ease-in-out infinite;
}

/* Schnellere Wave beim Scrollen */
#progress-bar-fill.scrolling::before {
  animation: wave-motion-fast 2s ease-in-out infinite;
}

@keyframes wave-motion-slow {
  0%,
  100% {
    transform: translateX(-15%) rotate(0deg);
  }
  50% {
    transform: translateX(15%) rotate(90deg);
  }
}

@keyframes wave-motion-fast {
  0%,
  100% {
    transform: translateX(-25%) rotate(0deg);
  }
  50% {
    transform: translateX(25%) rotate(180deg);
  }
}

/* Mobile Anpassung */
@media (max-width: 768px) {
  #progress-container {
    right: 20px;
  }
  #progress-bar-bg {
    width: 4px;
    height: 160px;
  }
}

#scroll-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 900;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
  backdrop-filter: blur(5px);
}

#scroll-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

#scroll-to-top:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
}

.arrow-up {
  width: 12px;
  height: 12px;
  border-left: 2px solid var(--text);
  border-top: 2px solid var(--text);
  transform: rotate(45deg);
  margin-top: 4px;
  transition: border-color 0.3s;
}

#scroll-to-top:hover .arrow-up {
  border-color: var(--accent);
}

#nav-menu {
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  opacity: 0;
  display: flex;
  gap: 30px;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  padding: 15px 40px;
  border-radius: 50px;
  border: 1px solid var(--card-border);
  transition: opacity 0.5s;
}

.nav-link {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text);
  opacity: 0.6;
  transition: all 0.3s ease;
  text-decoration: none;
  font-weight: 600;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  opacity: 1;
  color: var(--accent);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

/* ========== LAYOUT ========== */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 30px 5%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  opacity: 0;
  transition: opacity 0.5s;
}

main {
  position: relative;
  width: 100%;
  opacity: 0;
  transition: opacity 0.8s;
}

main.visible {
  opacity: 1;
}

section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--bg);
  text-align: center;
  will-change: transform, opacity;
}

section.hidden {
  pointer-events: none;
}

/* ========== TYPOGRAPHY ========== */
h1 {
  font-size: clamp(3.5rem, 12vw, 10rem);
  line-height: 0.85;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 2rem;
}

h2 {
  font-size: clamp(2rem, 6vw, 5rem);
  text-transform: uppercase;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

p {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.6;
  opacity: 0.8;
  max-width: 650px;
  margin: 0 auto;
}

.accent {
  color: var(--accent);
}

/* ========== BUTTONS - CLEAN & SIMPLE ========== */
.btn {
  display: inline-block;
  padding: 16px 40px;
  border: 2px solid var(--accent);
  border-radius: 8px;
  color: var(--accent);
  background: transparent;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  margin-top: 2rem;
  transition: all 0.3s ease;
}

.btn:hover {
  background: var(--accent);
  color: var(--bg);
}

body.light-mode .btn {
  border-color: #10b981;
  color: #10b981;
}

body.light-mode .btn:hover {
  background: #10b981;
  color: #ffffff;
}

/* Hero Buttons */
#hero .btn,
.hero-section .btn,
section[id*="hero"] .btn {
  padding: 15px 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

#hero .btn svg,
.hero-section .btn svg {
  transition: transform 0.3s ease;
}

#hero .btn:hover svg,
.hero-section .btn:hover svg {
  transform: translateX(4px);
}

/* CTA Buttons */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border: 2px solid var(--accent);
  border-radius: 8px;
  background: transparent;
  color: var(--accent);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: var(--accent);
  color: var(--bg);
}

body.light-mode .cta-button {
  border-color: #10b981;
  color: #10b981;
}

body.light-mode .cta-button:hover {
  background: #10b981;
  color: #ffffff;
}

.cta-button svg {
  transition: transform 0.3s ease;
}

.cta-button:hover svg {
  transform: translateX(4px);
}

/* Availability Card Button Position */
.availability-card .cta-button {
  position: absolute;
  bottom: 30px;
  right: 30px;
  margin: 0;
}

/* Glow Button & CTA Card Positionierung */
.cta-card .cta-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  align-items: flex-start; /* Links bündig */
  width: 100%;
}

.glow-button {
  margin-top: auto; /* Drückt den Button nach unten */
  display: inline-flex;
  padding: 10px 20px; /* Kompakte Größe */
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: rgba(57, 255, 20, 0.05);
  box-shadow: 0 0 12px rgba(57, 255, 20, 0.3); /* Der Glow-Effekt */
  text-decoration: none;
  transition: all 0.3s ease;
}

.glow-button:hover {
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 0 20px var(--accent), 0 0 40px rgba(57, 255, 20, 0.4);
  transform: translateY(-2px);
}

/* Light Mode Anpassung */
body.light-mode .glow-button {
  border-color: #10b981;
  color: #10b981;
  background: rgba(16, 185, 129, 0.05);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.3);
}

body.light-mode .glow-button:hover {
  background: #10b981;
  color: #ffffff;
  box-shadow: 0 0 20px #10b981;
}

.contact-wrapper {
  width: 80%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 40px;
  margin-top: 60px;
}

.contact-card {
  display: grid;
  grid-template-columns: 40% 60%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  min-height: 650px;
  transition: transform 0.3s ease, background 0.3s ease;
}

/* LEFT SIDE */
.contact-info {
  background: var(--info-bg);
  padding: 55px 45px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--glass-border);
}

.info-header h2 {
  font-size: 2rem;
  margin-bottom: 14px;
  font-weight: 600;
  color: var(--text);
}
.contact-info p.sub-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 45px;
}

/* LISTE & LINKS (Neu formatiert) */
.info-list {
  list-style: none;
  padding: 0;
}
.info-list li {
  margin-bottom: 26px;
}

/* Klickbarer Wrapper für Icon + Text */
.info-link-wrapper {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text);
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.info-link-wrapper span {
  font-size: 1rem;
}
.info-link-wrapper:hover {
  opacity: 0.8;
}

/* ICONS (Clean Style ohne Border/Background) */
.info-icon {
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: start;
  align-items: center;

  background: transparent;
  border: none;

  color: var(--accent);
  margin-right: 2px;
  transition: transform 0.3s ease;
}

/* Icon Pop-Effekt beim Hover über den Link */
.info-link-wrapper:hover .info-icon {
  transform: scale(1.15) rotate(5deg);
}

/* RIGHT SIDE (FORM) */
.form-section {
  padding: 55px 50px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.input-group {
  position: relative;
  display: flex;
  flex-direction: column;
}
.input-group label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.input-group input,
.input-group textarea {
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--input-border);
  padding: 10px 0;
  color: var(--text-input); /* Korrekte Textfarbe */
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}
.input-group input:focus,
.input-group textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}
.input-group input::placeholder,
.input-group textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.5;
}

/* RADIO BUTTONS */
.radio-section {
  margin-bottom: 32px;
  padding: 24px;
  background: var(--radio-bg);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
}
.radio-section > p {
  font-size: 0.8rem;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.radio-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.custom-radio {
  cursor: pointer;
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: all 0.2s ease;
  padding: 10px 14px;
  border-radius: 8px;
}
.custom-radio:hover {
  color: var(--text);
  background: rgba(0, 0, 0, 0.05);
}

.custom-radio input {
  display: none;
}
.checkmark {
  width: 18px;
  height: 18px;
  border: 2px solid var(--text-muted);
  border-radius: 50%;
  margin-right: 10px;
  position: relative;
  transition: all 0.3s ease;
}
.custom-radio input:checked ~ .checkmark {
  border-color: var(--accent);
}
.custom-radio input:checked ~ .checkmark::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.custom-radio:has(input:checked) {
  color: var(--accent);
  font-weight: 500;
}

/* SUBMIT BTN */
.submit-btn {
  background: var(--accent-hover);
  color: #fff;
  padding: 14px 36px;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  float: right;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.submit-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}
.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* ALERTS / MESSAGES */
.message-box {
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  text-align: center;
}
.msg-success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid #10b981;
  color: #10b981;
}
.msg-error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid #ef4444;
  color: #ef4444;
}

/* RESPONSIVE */
@media (max-width: 950px) {
  .contact-card {
    grid-template-columns: 1fr;
  }
  .contact-info {
    border-right: none;
    border-bottom: 1px solid var(--glass-border);
    padding: 40px 30px;
  }
  .form-section {
    padding: 40px 30px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .radio-options {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 500px) {
  .submit-btn {
    width: 100%;
    float: none;
  }
}
/* --- SEKTION STYLING --- */
.bento-section {
  padding: 50px 5%;
  position: relative;
}

.bento-container {
  max-width: 1100px;
  height: auto;
  min-height: 60vh;
}

.text-accent {
  color: var(--accent);
}

/* Header - EINHEITLICH FÜR ALLE SEKTIONEN */
.section-header {
  text-align: center;
  margin-bottom: 40px;
  margin-top: 20px;
}

/* Spezielle Anpassung nur für die Hero-Überschrift */
.hero-title {
  /* 20% kleiner als die normale H1 */
  font-size: clamp(2rem, 9.6vw, 8rem) !important;

  /* Behält die gleichen Abstände und Styles bei */
  line-height: 0.85;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 2rem;
}

/* Optional: Anpassung für Mobile, falls es dort noch zu groß wirkt */
@media (max-width: 768px) {
  .hero-title {
    font-size: clamp(2.5rem, 10vw, 4rem) !important;
  }
}

/* EINHEITLICHE H2 STYLES FÜR ALLE SEKTIONEN */
.section-header h2 {
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--text);
}

/* Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 20px;
  width: 100%;
  max-width: 1200px;
}

/* Cards Base */
.b-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  align-items: flex-start;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.b-card:hover {
  transform: translateY(-6px);
  border-color: var(--card-shine);
  background: var(--card-surface);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.b-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
  color: var(--text);
}

.b-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Icons (NEU) */
.icon-circle {
  width: 48px;
  height: 48px;
  background: var(--card-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--text-muted);
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.icon-circle svg {
  width: 24px;
  height: 24px;
}

.b-card:hover .icon-circle {
  background: rgba(16, 185, 129, 0.2);
  color: var(--accent);
}

/* --- EYE SWAP ANIMATION --- */
.eye-swap-container {
  position: relative;
}

.eye-icon {
  transition: opacity 0.15s ease,
    transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.eye-on {
  display: none;
  opacity: 0;
  transform: scale(0.5);
}

.eye-off {
  display: block;
  opacity: 1;
  transform: scale(1);
}

.ghost-card:hover .eye-off {
  display: none;
  opacity: 0;
}

.ghost-card:hover .eye-on {
  display: block;
  opacity: 1;
  transform: scale(1.1);
  color: var(--accent);
}

/* --- SPECIFIC CARDS --- */
.search-card {
  grid-column: span 2;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  width: 100%;
}

.stat-big {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

/* --- FIX FÜR DIE SUCHLEISTE --- */
.fake-search-bar {
  margin-top: 25px;
  background: rgba(0, 0, 0, 0.1);
  border: 1px solid var(--card-border);
  border-radius: 50px;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  height: 54px;
}

body.light-mode .fake-search-bar {
  background: rgba(0, 0, 0, 0.05);
}

.search-icon {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  flex-shrink: 0;
  min-width: 20px;
}

.typing-text {
  font-family: "Inter", -apple-system, sans-serif;
  font-size: 1rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
}

.cursor {
  animation: blink 1s infinite;
  color: var(--accent);
  flex-shrink: 0;
}

/* --- REVENUE CHART FIXED V5 (Full Width) --- */
.revenue-card {
  grid-column: span 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding-bottom: 25px;
}

.revenue-card .card-content {
  z-index: 2;
  margin-bottom: 20px;
}

.mini-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 15px;
  height: 60px;
  width: 100%;
  position: relative;
}

.bar {
  flex: 1;
  background: var(--accent);
  border-radius: 4px 4px 0 0;
  transform-origin: bottom;
  opacity: 0.7;
  animation: breatheBar 5s ease-in-out infinite alternate;
}

.chart-bar-1 {
  height: 30%;
  animation-delay: 0s;
}
.chart-bar-2 {
  height: 50%;
  animation-delay: 1s;
}
.chart-bar-3 {
  height: 70%;
  animation-delay: 2s;
}
.chart-bar-4 {
  height: 90%;
  animation-delay: 0.5s;
  box-shadow: none !important;
}

@keyframes breatheBar {
  0% {
    transform: scaleY(0.9);
    opacity: 0.7;
  }
  100% {
    transform: scaleY(1);
    opacity: 0.9;
  }
}

/* --- GHOST CARD --- */
.ghost-card {
  grid-column: span 1;
}

.blur-target {
  filter: blur(8px);
  opacity: 0.3;
  transition: all 0.6s ease;
  display: inline-block;
  user-select: none;
}

.description-blur {
  filter: blur(12px);
  margin-top: 10px !important;
  display: block;
}

.ghost-card:hover .blur-target {
  filter: blur(0);
  opacity: 1;
  color: var(--accent);
}

.ghost-card:hover .description-blur {
  color: var(--text-muted);
}

.availability-card {
  grid-column: span 1;
}

.card-top-row {
  display: flex;
  justify-content: start;
  align-items: center;
  margin-bottom: 20px;
  width: 100%;
}

.uptime-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid rgba(76, 175, 80, 0.25);
  padding: 6px 14px;
  border-radius: 50px;
}

.week-graph {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 14px;
}

.day-bar {
  width: 3px;
  background: #4caf50;
  border-radius: 2px;
  animation: wave 1.2s ease-in-out infinite;
  animation-delay: var(--d);
  opacity: 0.5;
  height: 60%;
  box-shadow: 0 0 5px rgba(76, 175, 80, 0);
}

.uptime-text {
  font-size: 0.75rem;
  font-weight: 800;
  color: #4caf50;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@keyframes wave {
  0%,
  100% {
    height: 40%;
    opacity: 0.4;
  }

  50% {
    height: 100%;
    opacity: 1;
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.6);
  }
}

/* ========== EDITORIAL WHY SECTION - GEFIXT ========== */
.why-editorial {
  position: relative;
  background: #151515;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

/* Hintergrund Glow Effekt */
.why-bg-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.why-content-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* EINHEITLICHER HEADER WIE BEI ANDEREN SEKTIONEN */
.why-header-minimal {
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 20px;
}

.section-label {
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 3px;
  font-weight: 700;
  text-transform: uppercase;
  display: block;
  margin-bottom: 15px;
}

/* GLEICHE H2 STYLES WIE .section-header h2 */
.why-header-minimal h2 {
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--text);
}

/* Die Liste */
.editorial-list {
  display: flex;
  flex-direction: column;
}

.editorial-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
}
body.light-mode .editorial-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

/* Header Bereich des Items (immer sichtbar) */
.item-header {
  display: flex;
  align-items: center;
  padding: 40px 0;
  transition: padding 0.4s ease;
}

.item-num {
  width: 40px;
  display: inline-block;
  font-family: "Inter", -apple-system, sans-serif;
  color: rgba(255, 255, 255, 0.3);
  margin-right: 40px;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

body.light-mode .item-num {
  color: var(--wf-accent-light);
}

.item-title {
  font-size: 3.5rem;
  margin: 0;
  font-weight: 800;
  color: var(--text);
  flex-grow: 1;
  text-transform: uppercase;
  letter-spacing: -1px;
  line-height: 1;
  transition: transform 0.4s ease;
  text-align: start;
}

/* Outline Text Effekt für das zweite Wort */
.outline-text {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
  transition: all 0.4s ease;
}

body.light-mode .outline-text {
  -webkit-text-stroke: 1px rgba(0, 0, 0, 0.3);
}

/* Body Bereich (versteckt, fährt aus) */
.item-body {
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 1000px;
  margin-left: 65px; /* Angepasst an Nummer-Breite */
}

.item-body p {
  font-size: 1.2rem;
  padding-bottom: 40px;
  line-height: 1.6;
  margin: auto;
  margin-left: 20px;
  text-align: start;
  max-width: 1000px;
}

/* --- HOVER STATES --- */

.editorial-item:hover .item-num {
  width: 40px;
  display: inline-block;
  color: var(--accent);
}

.editorial-item:hover .outline-text {
  color: var(--text);
  -webkit-text-stroke: 0;
}

.editorial-item:hover .item-body {
  height: auto;
  height: 140px;
  opacity: 1;
}

.editorial-list:hover .editorial-item:not(:hover) {
  opacity: 0.3;
  filter: blur(1px);
}

/* Responsive */
@media (max-width: 768px) {
  .item-title {
    font-size: 2rem;
  }
  .item-num {
    width: 40px;
    display: inline-block;
    margin-right: 20px;
    font-size: 1rem;
  }
  .item-body {
    margin-left: 0;
  }
  .item-header {
    padding: 25px 0;
  }

  .why-header-minimal h2 {
    font-size: clamp(1.8rem, 8vw, 3rem);
  }
}

/* Schließe Footer von allgemeinen Section-Regeln aus */
section:not(#footer) {
  /* Deine bestehenden section Regeln hier */
}

/* ODER: Footer überschreibt Section-Regeln explizit */
section#footer {
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4rem 5% 2rem;
  text-align: center;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  min-height: auto; /* Falls section min-height hat */
  height: auto; /* Falls section height hat */
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  width: 100%;
  max-width: 1200px;
  margin-bottom: 3rem;
}

/* Schließe Footer von allgemeinen Section-Regeln aus */
section:not(#footer) {
  /* Deine bestehenden section Regeln hier */
}

section#footer {
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4rem 5% 2rem;
  text-align: center;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  min-height: auto;
  height: auto;
}

/* Footer Paragraphen überschreiben Hauptregeln */
section#footer p {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  color: var(--text);
  opacity: 0.6;
  transition: all 0.3s ease;
}

section#footer p:hover {
  opacity: 1;
  color: var(--accent);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  width: 100%;
  max-width: 1200px;
  margin-bottom: 3rem;
}

.footer-logo-big {
  font-size: clamp(3rem, 12vw, 20rem);
  font-weight: 900;
  background: linear-gradient(
    5deg,
    var(--accent) 40%,
    rgba(18, 197, 18, 0.336) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 3rem;
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.9;
  }
}

body.light-mode .footer-logo-big {
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    rgba(28, 95, 31, 0.5) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
}

.footer-col h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin-bottom: 1.5rem;
  color: var(--text);
  font-weight: 600;
  opacity: 0.5;
}

.footer-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 1rem;
  opacity: 0.6;
  transition: all 0.3s ease;
  position: relative;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--accent);
  transform: translateX(4px);
}

.footer-bottom {
  width: 100%;
  max-width: 1200px;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  display: flex;
  justify-content: space-between;
  align-items: center;
  opacity: 0.3;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 2rem;
}

@media (max-width: 768px) {
  section#footer {
    padding: 3rem 8% 1.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .footer-logo-big {
    font-size: clamp(2.5rem, 15vw, 6rem);
    margin-bottom: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}


.footer-col h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin-bottom: 1.5rem;
  color: var(--text);
  font-weight: 600;
  opacity: 0.5;
}

.footer-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 1rem;
  opacity: 0.6;
  transition: all 0.3s ease;
  position: relative;
}

.footer-links a:hover {
  opacity: 1;
  transform: translateX(4px);
}

.footer-bottom {
  width: 100%;
  max-width: 1200px;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  display: flex;
  justify-content: space-between;
  align-items: center;
  opacity: 0.3;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 2rem;
}

@media (max-width: 768px) {
  section#footer {
    padding: 3rem 8% 1.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .footer-logo-big {
    font-size: clamp(2.5rem, 15vw, 6rem);
    margin-bottom: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}

/* 🔥 MOBILE OPTIMIERUNG */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .search-card {
    grid-column: span 2;
  }

  .cta-card {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .bento-section {
    padding: 60px 5% 40px;
  }

  .bento-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .search-card,
  .revenue-card,
  .ghost-card,
  .availability-card,
  .cta-card {
    grid-column: span 1;
  }

  .b-card {
    padding: 25px;
    border-radius: 20px;
  }

  .section-header h2 {
    font-size: clamp(1.8rem, 8vw, 3rem);
    margin-bottom: 0.8rem;
  }

  /* Card-spezifische Mobile Anpassungen */
  .fake-search-bar {
    padding: 12px 18px;
    height: 48px;
  }

  .stat-big {
    font-size: 2.5rem;
  }

  .availability-card {
    padding-bottom: 100px !important;
  }

  .availability-card {
    grid-column: span 1;
    width: 100%;
    position: static;
    padding: 25px;
    margin: 0;
    justify-content: flex-start;
    height: auto;
  }

  .availability-card .cta-button {
    position: static;
    margin-top: 20px;
  }

  .cta-card {
    padding: 40px 25px;
  }
}

/* ========================================= */
/*          WORKFLOW SECTION CSS             */
/* ========================================= */

#workflowSection {
  --wf-bg: #0a0a0a;
  --wf-card-bg: rgba(20, 20, 20, 0.8);
  --wf-card-border: rgba(255, 255, 255, 0.1);
  --wf-accent: var(--accent);
  --wf-accent-light: var(--accent);
  --wf-text-muted: #a0a0a0;

  position: relative;
  color: #fff;
  overflow: hidden;
  width: 100%;
}

body.light-mode #workflowSection {
  --wf-bg: #f5f5f5;
  --wf-card-bg: rgba(243, 243, 243, 0.9);
  --wf-card-border: rgba(0, 0, 0, 0.1);
  --wf-accent: var(--accent);
  --wf-accent-light: var(--accent);
  --wf-text-muted: #666;
}

.workflow-container {
  position: relative;
  display: flex;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  min-height: 80vh;
}

/* --- NEU: VISUALS HEADING --- */
.visuals-heading {
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 3rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  z-index: 20;
  margin: 0;

  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s ease;
  pointer-events: none;
}

.visuals-heading.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- LEFT SIDE: VISUALS --- */
.workflow-visuals {
  width: 50%;
  height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  perspective: 1200px;
  position: relative;
}

.visual-stage {
  width: 85%;
  aspect-ratio: 1/1;
  max-width: 650px;
  position: relative;
}

/* SCENE BASE STYLES */
.scene {
  position: absolute;
  inset: 0;
  background: var(--wf-card-bg);
  border: 1px solid var(--wf-card-border);
  border-radius: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: scale(0.85) translateY(60px) rotateX(15deg);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  backdrop-filter: blur(30px);
  z-index: 0;
  pointer-events: none;
}

.scene.active {
  opacity: 1;
  transform: scale(1) translateY(0) rotateX(0deg);
  border-color: var(--wf-accent);
  z-index: 10;
  pointer-events: auto;
}

/* --- SCENE 1: PHONE MOCKUP --- */

.scene-1 {
  background: transparent !important;
  border: none !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
}

.phone-mockup {
  width: 300px;
  height: 580px;
  background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
  border-radius: 50px;
  border: 12px solid #0a0a0a;
  position: relative;
  overflow: hidden;
  outline: 2px solid #000000;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 32px;
  background: #000;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.phone-speaker {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 5px;
  background: #333;
  border-radius: 3px;
}

.phone-camera {
  position: absolute;
  top: 12px;
  right: 35px;
  width: 10px;
  height: 10px;
  background: #1a1a1a;
  border-radius: 50%;
  border: 1px solid #444;
}

.chat-screen {
  margin-top: 45px;
  height: calc(100% - 45px);
  background: linear-gradient(180deg, #0f0f0f 0%, #050505 100%);
  padding: 20px 15px 80px 15px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  position: relative;
}

.chat-screen::-webkit-scrollbar {
  display: none;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 10px;
}

.chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 900;
  font-size: 1.4rem;
}

.chat-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
}

.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.msg {
  padding: 12px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  max-width: 80%;
  opacity: 0;
  transform: translateY(30px) scale(0.9);
  line-height: 1.5;
}

.msg-in {
  align-self: flex-start;
  background: linear-gradient(135deg, #2a2a2a, #1f1f1f);
  color: #eee;
  border-bottom-left-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  text-align: left;
}

.msg-out {
  align-self: flex-end;
  background: #28b80f;
  color: #fff;
  border-bottom-right-radius: 6px;
  box-shadow: 0 4px 15px, #39ff14;
  text-align: left;
}

/* Chat Input Bar */
.chat-input-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px 15px 15px 15px;
  background: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(5px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 20;
  box-sizing: border-box;
  border-bottom-left-radius: 38px;
  border-bottom-right-radius: 38px;
}

.input-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #2a2a2a;
  padding: 5px 5px 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  height: 40px;
  box-sizing: border-box;
}

.chat-input-bar input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 13px;
  outline: none;
  width: 100%;
  text-align: left;
  padding: 0;
  margin: 0;
  height: 100%;
  display: flex;
  align-items: center;
}

.chat-input-bar input::placeholder {
  color: #777;
}

.send-btn {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #28b80f;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s;
}

.send-btn svg {
  width: 14px;
  height: 14px;
  margin-left: -1px;
}

/* Chat Animations */
.scene.active .msg {
  animation: msgPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes msgPop {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.scene.active .message-1 {
  animation-delay: 0.3s;
}
.scene.active .message-2 {
  animation-delay: 2.3s;
}
.scene.active .message-3 {
  animation-delay: 2.8s;
}
.scene.active .message-4 {
  animation-delay: 5s;
}

/* --- RIGHT SIDE: TEXT TRACK --- */
.workflow-text-track {
  width: 50%;
  height: 70vh;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 10%;
  box-sizing: border-box;
}

/* Einzelne Steps */
.text-step {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 50%;
  transform: translateY(-50%) translateX(40px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 0;
}

.text-step.active {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
  pointer-events: auto;
  z-index: 10;
}

.step-number {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 15px;
  display: block;
  color: var(--accent);
  background: none;
  -webkit-text-fill-color: initial;
}

.text-step h3 {
  font-size: 2.8rem;
  margin-bottom: 22px;
  line-height: 1.1;
  color: var(--text);
}

body.light-mode .text-step h3 {
  color: #0f172a;
}
.text-step p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--wf-text-muted);
  max-width: 540px;
}

/* --- NAVIGATION CONTROLS (NEW POSITION) --- */
.nav-controls {
  position: absolute;
  bottom: 12%;
  left: 10%;
  display: flex;
  align-items: center;
  gap: 15px;
  pointer-events: auto;
  z-index: 20;
}

.nav-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer !important;
  transition: all 0.3s ease;
  user-select: none;
}

.nav-btn:hover {
  border-color: var(--wf-accent);
  color: var(--wf-accent);
  transform: scale(1.05);
}

.nav-btn:active {
  transform: scale(0.95);
}

.nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed !important;
  border-color: rgba(255, 255, 255, 0.05);
}

.nav-btn svg {
  width: 24px;
  height: 24px;
}

/* Dots komplett ausblenden */
.nav-dots {
  display: none;
}

/* Scene 2: Design */
.design-studio {
  width: 90%;
  height: 90%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.branding-header {
  text-align: center;
  margin-bottom: 2px;
}

.branding-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 5px;
  opacity: 0;
  transform: translateY(-20px);
  color: var(--text);
}

body.light-mode .branding-title {
  color: #0f172a;
}

.scene.active .branding-title {
  animation: fadeInTitle 0.6s 0.2s forwards;
}

@keyframes fadeInTitle {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.concept-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 10px;
}

.concept-card {
  background: rgba(18, 18, 18, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: border-color 0.5s ease, box-shadow 0.5s ease;
  opacity: 0;
  transform: translateY(20px);
}

body.light-mode .concept-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.scene.active .concept-card {
  animation: fadeInConcept 0.5s forwards;
}

.scene.active .concept-card:nth-child(1) {
  animation-delay: 0.4s;
}

.scene.active .concept-card:nth-child(2) {
  animation-delay: 0.6s;
}

.scene.active .concept-card:nth-child(3) {
  animation-delay: 0.8s;
}

@keyframes fadeInConcept {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.concept-badge {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 12px;
  align-self: flex-start;
}

body.light-mode .concept-badge {
  color: rgba(0, 0, 0, 0.5);
}

.concept-logo {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

body.light-mode .concept-logo {
  border: 1px dashed rgba(0, 0, 0, 0.2);
  background: rgba(0, 0, 0, 0.02);
}

.concept-svg {
  display: block;
  width: 70%;
  height: 70%;
  color: var(--wf-accent);
  transition: color 0.55s ease;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: color;
}

.logo-color {
  fill: currentColor;
  transition: fill 0.55s ease;
}

.logo-stroke {
  stroke: currentColor;
  transition: stroke 0.55s ease;
}

.concept-caption {
  font-size: 0.8rem;
  font-weight: 600;
  color: #ccc;
}

body.light-mode .concept-caption {
  color: #1f1f1f;
}

.color-loop-indicator {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s 1.2s, transform 0.5s 1.2s;
}

.scene.active .color-loop-indicator {
  opacity: 1;
  transform: translateY(0);
}

.color-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.3s;
}
body.light-mode .color-dot {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(0, 0, 0, 0.1);
}
body.light-mode .color-dot.active {
  background: var(--wf-accent) !important; /* Dynamic Loop Color */
  border: none;
  transform: scale(1.5);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.15); /* Slight shadow for pop */
}

.color-dot.active {
  transform: scale(1.5);
  background: var(--wf-accent);
}

/* Scene 3: Code */
.vscode-window {
  width: 95%;
  height: 90%;
  background: #1e1e1e;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
}

.vscode-titlebar {
  height: 35px;
  background: #323233;
  display: flex;
  align-items: center;
  padding: 0 15px;
  gap: 8px;
}

.vscode-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.vscode-dot:nth-child(1) {
  background: #ff5f57;
}

.vscode-dot:nth-child(2) {
  background: #febc2e;
}

.vscode-dot:nth-child(3) {
  background: #28c840;
}

.vscode-tabs {
  height: 35px;
  background: #252526;
  display: flex;
  align-items: center;
  padding: 0 10px;
  border-bottom: 1px solid #1e1e1e;
}

.vscode-tab {
  padding: 8px 20px;
  background: #1e1e1e;
  color: #ccc;
  font-size: 0.85rem;
  border-right: 1px solid #252526;
  opacity: 0;
  transform: translateY(-10px);
}

body.light-mode .vscode-tab {
  background: #f3f3f3;
  color: #666;
  border-right: 1px solid #e0e0e0;
}

.vscode-tab.active-tab {
  background: #1e1e1e;
  color: #fff;
  border-bottom: 2px solid var(--wf-accent);
}

body.light-mode .vscode-tab.active-tab {
  background: #ffffff;
  color: #0f172a;
  border-bottom: 2px solid var(--wf-accent);
}

.scene.active .vscode-tab {
  animation: tabSlide 0.4s forwards;
}

.scene.active .vscode-tab:nth-child(1) {
  animation-delay: 0.2s;
}

.scene.active .vscode-tab:nth-child(2) {
  animation-delay: 0.3s;
}

.scene.active .vscode-tab:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes tabSlide {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.vscode-editor {
  flex: 1;
  background: #1e1e1e;
  padding: 20px;
  font-family: "Inter", -apple-system, sans-serif;
  font-size: 0.85rem;
  color: #d4d4d4;
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.code-line {
  display: flex;
  margin-bottom: 2px;
  opacity: 0;
  width: 100%;
  justify-content: flex-start;
  line-height: 1.5;
}

/* Zeile 1: Fade-In-Out Animation (Import Simulation) */
.scene.active .code-line:first-child {
  animation: importBlink 0.66s ease-in-out 3 forwards;
  opacity: 0;
}

/* Keyframes für das Blinken */
@keyframes importBlink {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
    color: #fff;
  }
  100% {
    opacity: 0;
  }
}

.scene.active .code-line:first-child {
  animation: importBlink 0.66s ease-in-out 3,
    stayVisible 0.1s linear 2s forwards;
}

@keyframes stayVisible {
  to {
    opacity: 1;
  }
}

/* --- DER REST DER ZEILEN --- */

@keyframes codeFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Alle Zeilen AB der 2. Zeile */
.scene.active .code-line:not(:first-child) {
  transform: translateY(10px);
  animation: codeFadeIn 0.3s cubic-bezier(0.2, 0.6, 0.3, 1) forwards;
}

.line-number {
  width: 40px;
  color: #858585;
  text-align: right;
  padding-right: 15px;
  flex-shrink: 0;
  user-select: none;
}

.code-content {
  flex: 1;
  white-space: pre;
  text-align: left;
  min-height: 1.2em;
}

.scene.active .code-line:nth-child(2) {
  animation-delay: 2.1s;
}
.scene.active .code-line:nth-child(3) {
  animation-delay: 2.15s;
}
.scene.active .code-line:nth-child(4) {
  animation-delay: 2.2s;
}
.scene.active .code-line:nth-child(5) {
  animation-delay: 2.25s;
}
.scene.active .code-line:nth-child(6) {
  animation-delay: 2.3s;
}
.scene.active .code-line:nth-child(7) {
  animation-delay: 2.35s;
}
.scene.active .code-line:nth-child(8) {
  animation-delay: 2.4s;
}
.scene.active .code-line:nth-child(9) {
  animation-delay: 2.45s;
}
.scene.active .code-line:nth-child(10) {
  animation-delay: 2.5s;
}
.scene.active .code-line:nth-child(11) {
  animation-delay: 2.55s;
}
.scene.active .code-line:nth-child(12) {
  animation-delay: 2.6s;
}
.scene.active .code-line:nth-child(13) {
  animation-delay: 2.65s;
}
.scene.active .code-line:nth-child(14) {
  animation-delay: 2.7s;
}
.scene.active .code-line:nth-child(15) {
  animation-delay: 2.75s;
}
.scene.active .code-line:nth-child(16) {
  animation-delay: 2.8s;
}
.scene.active .code-line:nth-child(17) {
  animation-delay: 2.85s;
}
.scene.active .code-line:nth-child(18) {
  animation-delay: 2.9s;
}
.scene.active .code-line:nth-child(19) {
  animation-delay: 2.95s;
}
.scene.active .code-line:nth-child(20) {
  animation-delay: 3s;
}
.scene.active .code-line:nth-child(21) {
  animation-delay: 3.05s;
}
.scene.active .code-line:nth-child(22) {
  animation-delay: 3.1s;
}

@keyframes codeFadeIn {
  to {
    opacity: 1;
  }
}

.keyword {
  color: #569cd6;
}

.string {
  color: #6ee7b7;
}

.function {
  color: #dcdcaa;
}

.comment {
  color: #6a9955;
  font-style: italic;
}

/* Scene 4: Browser */
.browser-window {
  width: 95%;
  height: 90%;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
}

.browser-chrome {
  height: 40px;
  background: linear-gradient(180deg, #f5f5f5, #e8e8e8);
  display: flex;
  align-items: center;
  padding: 0 15px;
  gap: 8px;
  border-bottom: 1px solid #d0d0d0;
}

.browser-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.browser-dot:nth-child(1) {
  background: #ff5f57;
}

.browser-dot:nth-child(2) {
  background: #febc2e;
}

.browser-dot:nth-child(3) {
  background: #28c840;
}

.browser-urlbar {
  flex: 1;
  margin-left: 15px;
  height: 26px;
  background: #fff;
  border-radius: 6px;
  border: 1px solid #d0d0d0;
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 0.75rem;
  color: #888;
}

.browser-content {
  flex: 1;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.site-navbar {
  height: 60px;
  background: rgba(20, 20, 20, 0.8);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  padding: 0 30px;
  justify-content: space-between;
  opacity: 0;
  transform: translateY(-30px);
}

.scene.active .site-navbar {
  animation: slideDown 0.6s 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes slideDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-logo {
  width: 40px;
  height: 40px;
  background: var(--accent-hover);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.3rem;
  color: #fff;
}

.site-hero {
  margin-top: 60px;
  opacity: 0;
  transform: translateY(40px);
}

.scene.active .site-hero {
  animation: heroIn 0.8s 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes heroIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-title {
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #fff, var(--wf-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px;
}

.site-subtitle {
  font-size: 1.1rem;
  color: #888;
  margin-bottom: 30px;
}

.site-cta {
  display: inline-block;
  padding: 15px 35px;
  background: var(--accent-hover);
  color: #fff;
  font-weight: 700;
  border-radius: 8px;
  opacity: 0;
  transform: scale(0.8);
  box-shadow: none;
}

.scene.active .site-cta {
  animation: btnPop 0.6s 1.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes btnPop {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* --- SCENE 5: FINAL DASHBOARD --- */

.support-dashboard {
  width: 100%;
  height: 100%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Header */
.dashboard-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  transform: translateY(-20px);
  height: 60px;
}

body.light-mode .dashboard-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}
.scene.active .dashboard-header {
  animation: slideDownFade 0.6s 0.2s forwards;
}

.header-center {
  text-align: center;
}
.header-right {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.dashboard-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text);
  text-transform: uppercase;
  line-height: 1;
}

body.light-mode .dashboard-title {
  color: #0f172a;
}
.dashboard-subtitle {
  font-size: 0.75rem;
  color: var(--wf-text-muted, #888);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

body.light-mode .dashboard-subtitle {
  color: #666;
}

/* Live Badge */
.live-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid rgba(16, 185, 129, 0.2);
  white-space: nowrap;
}
.pulse-ring {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 2s infinite;
}

/* Grid Layout */
.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 15px;
  flex: 1;
  min-height: 0;
}

/* Uniform Card Style */
.support-card {
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: scale(0.95);
  transition: 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
}
.glass-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}
.glass-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

body.light-mode .glass-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

body.light-mode .glass-card:hover {
  background: rgba(255, 255, 255, 1);
  border-color: rgba(0, 0, 0, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* Card Internals */
.card-top-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.icon-box {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  color: #ccc;
  transition: 0.3s;
}
.glass-card:hover .icon-box {
  background: var(--wf-accent);
  color: #fff;
}

body.light-mode .icon-box {
  background: rgba(0, 0, 0, 0.05);
  color: #666;
}
.card-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.5px;
}

body.light-mode .card-label {
  color: #0f172a;
}

.anim-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
  min-height: 60px;
}
.text-block-small {
  margin-top: auto;
  font-size: 0.75rem;
  line-height: 1.4;
  color: #999;
}
.text-block-small strong {
  display: block;
  color: var(--text);
  margin-bottom: 2px;
  font-size: 0.85rem;
}

body.light-mode .text-block-small {
  color: #666;
}
body.light-mode .text-block-small strong {
  color: #0f172a;
}

/* --- ANIMATIONS FIXES --- */

/* 1. Chat Bubbles */
.chat-anim {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 80px;
}
.bubble {
  padding: 6px 10px;
  border-radius: 12px;
  font-size: 10px;
  position: relative;
  animation: chatPop 2s infinite;
}
.bubble.left {
  align-self: flex-start;
  background: #333;
  color: #aaa;
  border-bottom-left-radius: 2px;
}
.bubble.right {
  align-self: flex-end;
  background: var(--wf-accent);
  color: #fff;
  border-bottom-right-radius: 2px;
  animation-delay: 1s;
  display: flex;
  align-items: center;
  justify-content: center;
}
@keyframes chatPop {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(0.95);
    opacity: 0.9;
  }
}

/* 2. Backup Cloud */
.backup-animation {
  position: relative;
  height: 60px;
  width: 60px;
  display: flex;
  justify-content: center;
}
.cloud {
  color: #ccc;
  z-index: 2;
  position: relative;
}
.data-stream {
  position: absolute;
  bottom: 5px;
  width: 10px;
  height: 25px;
  z-index: 1;
  display: flex;
  justify-content: center;
}
.dot-up {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--wf-accent);
  border-radius: 50%;
  opacity: 0;
  animation: flowUp 1.5s infinite linear;
}
.d2 {
  animation-delay: 0.5s;
}
.d3 {
  animation-delay: 1s;
}
@keyframes flowUp {
  0% {
    transform: translateY(10px);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    transform: translateY(-15px);
    opacity: 0;
  }
}

/* 3. Speed Gauge FIX */
.gauge-wrapper {
  position: relative;
  width: 90px;
  height: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.gauge {
  width: 80px;
  height: 40px;
  overflow: visible;
}
.gauge-fill {
  stroke-linecap: round;
  stroke-dasharray: 126;
  stroke-dashoffset: 126;
}
.scene.active .gauge-fill {
  animation: fillGauge 1.5s ease-out forwards;
  animation-delay: 0.8s;
}
.gauge-text {
  position: absolute;
  bottom: 5px;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text);
}

body.light-mode .gauge-text {
  color: #0f172a;
}
@keyframes fillGauge {
  to {
    stroke-dashoffset: 0;
  }
}

/* 4. Shield Scan FIX */
.shield-container {
  position: relative;
  color: #ccc;
  width: 32px;
  height: 32px;
  overflow: hidden;
}
.scan-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--wf-accent);
  box-shadow: 0 0 5px var(--wf-accent);
  opacity: 0;
}
.scene.active .scan-line {
  animation: scanDown 2s infinite linear;
  animation-delay: 0.5s;
}
@keyframes scanDown {
  0% {
    top: 0;
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

/* Global Animations */
@keyframes slideDownFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes pulseGreen {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Entry Stagger */
.scene.active .support-card:nth-child(1) {
  animation: cardPop 0.5s 0.2s forwards;
}
.scene.active .support-card:nth-child(2) {
  animation: cardPop 0.5s 0.3s forwards;
}
.scene.active .support-card:nth-child(3) {
  animation: cardPop 0.5s 0.4s forwards;
}
.scene.active .support-card:nth-child(4) {
  animation: cardPop 0.5s 0.5s forwards;
}
@keyframes cardPop {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.support-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.support-card {
  background: linear-gradient(
    145deg,
    rgba(30, 30, 30, 0.8),
    rgba(20, 20, 20, 0.6)
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.support-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--wf-accent), var(--wf-accent-light));
  opacity: 0;
  transition: opacity 0.3s;
}

.support-card:hover {
  /* border-color: var(--accent);  <-- ENTFERNT (Kein grüner Rahmen mehr) */
  border-color: rgba(
    255,
    255,
    255,
    0.3
  ); /* Dezenter weißer Rahmen statt Grün */
  transform: translateY(-5px);
  box-shadow: 0 10px 30px -10px rgba(57, 255, 20, 0.2); /* Glow bleibt (Grün) */
}

.support-card:hover::before {
  opacity: 1;
}

.scene.active .support-card:nth-child(1) {
  animation: cardPop 0.5s 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.scene.active .support-card:nth-child(2) {
  animation: cardPop 0.5s 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.scene.active .support-card:nth-child(3) {
  animation: cardPop 0.5s 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.scene.active .support-card:nth-child(4) {
  animation: cardPop 0.5s 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes cardPop {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.card-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 61, 0, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

body.light-mode .card-title {
  color: var(--text);
}


.card-value {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--wf-accent);
  margin-bottom: 5px;
  line-height: 1;
}

.card-label {
  font-size: 0.8rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card-progress {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 10px;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--wf-accent), var(--wf-accent-light));
  border-radius: 3px;
  width: 0;
  transition: width 1s ease-out;
}

.scene.active .support-card:nth-child(1) .progress-bar {
  animation: fillProgress 1s 1.5s forwards;
}

.scene.active .support-card:nth-child(2) .progress-bar {
  animation: fillProgress 1s 1.7s forwards;
}

.scene.active .support-card:nth-child(3) .progress-bar {
  animation: fillProgress 1s 1.9s forwards;
}

.scene.active .support-card:nth-child(4) .progress-bar {
  animation: fillProgress 1s 2.1s forwards;
}

@keyframes fillProgress {
  to {
    width: var(--progress-width);
  }
}

/* 🔥 MOBILE OPTIMIERUNG */
/* 🔥 KOMPLETTE MOBILE OPTIMIERUNG FÜR WORKFLOW */
@media (max-width: 992px) {
  /* 1. Section Spacing */
  #workflowSection {
    padding: 80px 5% 60px !important;
    min-height: auto;
  }

  /* 2. Container Layout - Stack alles vertikal */
  .workflow-container {
    flex-direction: column;
    min-height: auto !important;
    margin-top: 0 !important;
  }

  /* 3. Visuals - Maximaler Fokus */
  .workflow-visuals {
    width: 100%;
    height: 60vh !important;
    min-height: 450px;
    max-height: 650px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0;
  }

  .visual-stage {
    width: 95% !important;
    max-width: 450px !important;
    height: 90%;
  }

  /* 4. ALLE SCENES - Responsive Container */
  .scene {
    border-radius: 20px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  /* 5. PHONE MOCKUP - Perfekte Skalierung */
  .phone-mockup {
    width: min(300px, 85vw) !important;
    height: min(580px, 75vh) !important;
    border-radius: 40px !important;
    border-width: 10px !important;
  }

  .phone-notch {
    width: 120px !important;
    height: 28px !important;
    border-bottom-left-radius: 16px !important;
    border-bottom-right-radius: 16px !important;
  }

  .phone-speaker {
    width: 50px !important;
    height: 4px !important;
    top: 9px !important;
  }

  .phone-camera {
    width: 8px !important;
    height: 8px !important;
    top: 11px !important;
    right: 30px !important;
  }

  .chat-screen {
    margin-top: 40px !important;
    padding: 15px 12px 65px 12px !important;
  }

  .chat-header {
    padding-bottom: 12px;
    margin-bottom: 8px;
  }

  .chat-avatar {
    width: 36px;
    height: 36px;
  }

  .msg {
    font-size: 0.85rem !important;
    padding: 10px 14px !important;
    max-width: 85%;
  }

  .chat-input-bar {
    padding: 8px 12px 12px 12px !important;
  }

  .input-wrapper {
    height: 38px;
  }

  /* 6. VSCODE WINDOW */
  .vscode-window {
    width: 100% !important;
    height: 95% !important;
  }

  .vscode-editor {
    font-size: 0.7rem !important;
    padding: 15px !important;
    line-height: 1.4;
  }

  .code-line {
    margin-bottom: 1px;
  }

  .line-number {
    width: 30px;
    padding-right: 10px;
  }

  .vscode-tab {
    padding: 6px 15px;
    font-size: 0.75rem;
  }

  /* 7. BROWSER WINDOW */
  .browser-window {
    width: 100% !important;
    height: 95% !important;
  }

  .browser-content {
    padding: 25px 20px !important;
  }

  .site-navbar {
    height: 50px;
    padding: 0 20px;
  }

  .site-logo {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }

  .site-hero {
    margin-top: 40px;
  }

  .site-title {
    font-size: 2rem !important;
  }

  .site-subtitle {
    font-size: 0.95rem !important;
  }

  .site-cta {
    padding: 12px 28px;
    font-size: 0.85rem;
  }

  /* 8. SUPPORT DASHBOARD */
  .support-dashboard {
    padding: 20px;
  }

  .dashboard-header {
    flex-direction: column;
    align-items: center !important;
    height: auto;
    padding-bottom: 20px;
  }

  .header-right {
    position: relative !important;
    transform: none !important;
    margin-top: 10px;
  }

  .dashboard-title {
    font-size: 1.4rem !important;
  }

  .dashboard-subtitle {
    font-size: 0.7rem;
  }

  .support-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  .support-card {
    padding: 18px;
  }

  .card-label {
    font-size: 0.85rem;
  }

  .text-block-small {
    font-size: 0.7rem;
  }

  .gauge-wrapper {
    width: 70px;
    height: 40px;
  }

  .gauge-text {
    font-size: 0.8rem;
  }

  /* 9. DESIGN STUDIO - MOBILE OPTIMIERT */

  .design-studio {
    padding: 10px;
    gap: 10px;
  }

  .branding-title {
    font-size: 1.1rem !important;
    line-height: 1.2;
    margin-bottom: 8px;
  }

  .branding-header p {
    font-size: 0.75rem;
    max-width: 100%;
    line-height: 1.4;
    margin-bottom: 10px;
  }

  .concept-grid {
    grid-template-columns: 1fr !important;
    gap: 8px;
  }

  .concept-card {
    padding: 10px;
    border-radius: 8px;
  }

  .concept-logo {
    aspect-ratio: 1/1;
    max-height: 100px;
    margin-bottom: 8px;
  }

  .concept-card h4 {
    font-size: 0.9rem;
    margin-bottom: 4px;
  }

  .concept-card p {
    font-size: 0.7rem;
    line-height: 1.3;
  }

  /* 10. TEXT TRACK - Kompakt unten */
  .workflow-text-track {
    width: 100% !important;
    height: auto !important;
    min-height: 250px;
    padding: 0 20px !important;
    position: relative !important;
  }

  .text-step {
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    transform: none !important;
    display: none;
    opacity: 0;
    padding: 20px 0;
    text-align: center;
  }

  .text-step.active {
    display: block !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .step-number {
    font-size: 2rem !important;
    margin-bottom: 10px;
  }

  .text-step h3 {
    font-size: 1.8rem !important;
    margin-bottom: 15px;
    text-align: center;
  }

  .text-step p {
    font-size: 1rem !important;
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
  }

  /* 11. NAVIGATION CONTROLS - Prominent */
  .nav-controls {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }

  .nav-btn {
    width: 48px;
    height: 48px;
  }

  .nav-btn svg {
    width: 22px;
    height: 22px;
  }

  /* 12. Heading Visibility */
  .visuals-heading {
    font-size: 2rem !important;
    top: 20px;
  }
}

/* Extra Small Devices */
@media (max-width: 600px) {
  .workflow-visuals {
    height: 55vh !important;
    min-height: 400px;
  }

  .visual-stage {
    max-width: 360px !important;
  }

  .phone-mockup {
    width: min(260px, 90vw) !important;
    height: min(500px, 70vh) !important;
  }

  .text-step h3 {
    font-size: 1.5rem !important;
  }

  .text-step p {
    font-size: 0.95rem !important;
  }

  .step-number {
    font-size: 1.6rem !important;
  }

  .nav-btn {
    width: 44px;
    height: 44px;
  }

  .vscode-editor {
    font-size: 0.65rem !important;
  }

  .site-title {
    font-size: 1.6rem !important;
  }

  .dashboard-title {
    font-size: 1.2rem !important;
  }
}

/* ============================================================
   WEBSOS - ALLE FIXES
   ============================================================ */

#nav-menu {
  position: fixed !important;
  top: 50% !important;
  left: 30px !important;
  transform: translateY(-50%) !important;
  flex-direction: column !important;
  gap: 8px !important;
  padding: 18px 12px !important;
  border-radius: 30px !important;
  border-color: var(--accent);
  width: 60px;
  overflow: hidden;
  transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), padding 0.4s ease !important;
  z-index: 2000;
}

#nav-menu::before {
  content: "☰";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.4rem;
  color: var(--accent);
  opacity: 1;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

#nav-menu:hover {
  width: 220px;
  padding: 18px 25px !important;
}

#nav-menu:hover::before {
  opacity: 0;
}

.nav-link {
  font-size: 0.85rem !important;
  text-align: left !important;
  opacity: 0 !important;
  transform: translateX(-10px);
  transition: all 0.3s ease !important;
  white-space: nowrap;
  display: block;
}

#nav-menu:hover .nav-link {
  opacity: 0.6 !important;
  transform: translateX(0);
}

#nav-menu:hover .nav-link:hover,
#nav-menu:hover .nav-link.active {
  opacity: 1 !important;
  color: var(--accent) !important;
}

.nav-link.active::after {
  left: -10px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  bottom: auto !important;
}

.availability-card {
  position: relative;
  padding-bottom: 80px !important;
}

.availability-card .cta-button {
  position: absolute;
  bottom: 30px;
  right: 30px;
  margin: 0;
  padding: 14px 28px;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid var(--accent);
  background: transparent;
  color: var(--accent);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.15em;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.availability-card .cta-button:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-2px);
}

.availability-card .cta-button svg {
  width: 16px;
  height: 16px;
}

#workflowSection .section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#workflowSection .section-header h2 {
  order: 1;
  margin-bottom: 15px;
}

#workflowSection .section-header .sub-badge {
  order: 2;
}

.nav-controls {
  position: fixed !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 100;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(10px);
  padding: 12px 20px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.nav-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.nav-btn:hover:not(:disabled) {
  background: rgba(255, 61, 0, 0.15);
  transform: scale(1.08);
}

.nav-btn:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

.why-editorial {
  background: var(--bg) !important;
}

.why-header-minimal {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.why-header-minimal h2 {
  order: 1;
}

.why-header-minimal .section-label {
  order: 2;
}

.editorial-item:first-child .item-header {
  padding-top: 40px;
}

#pricing .section-header {
  margin-bottom: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#pricing .section-header h2 {
  order: 1;
  margin-bottom: 20px;
}

#pricing .section-header {
  order: 2;
}

.price-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
  color: var(--accent);
}

.price-card .btn {
  width: 100% !important;
  text-align: center !important;
  padding: 18px 30px !important;
  display: block !important;
}

@media (max-width: 768px) {
  #progress-container {
    display: none !important;
  }
  #nav-menu {
    left: 20px !important;
    width: 50px;
  }
  #nav-menu:hover {
    width: 180px;
  }
  .nav-controls {
    bottom: 40px !important;
  }
}

@media (max-width: 900px) {
  #workflowSection {
    padding: 80px 5% !important;
  }
  .workflow-container {
    flex-direction: column !important;
  }
  .workflow-visuals {
    width: 100% !important;
    height: 450px !important;
    margin-bottom: 20px;
  }
  .visual-stage {
    width: 100% !important;
    max-width: 380px !important;
  }
  .workflow-text-track {
    width: 100% !important;
    position: relative !important;
  }
  .text-step {
    position: relative !important;
    display: none !important;
    padding: 0 20px !important;
  }
  .text-step.active {
    display: block !important;
    opacity: 1 !important;
  }
  .text-step h3 {
    font-size: 2.2rem !important;
    text-align: center;
  }
  .text-step p {
    text-align: center;
  }
}

.theme-toggle {
  position: fixed;
  top: 30px;
  right: 30px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 12px;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 0.3s var(--ws-ease-cine);
  z-index: 1000;
}

.theme-toggle:hover {
  transform: scale(1.05);
  border-color: var(--accent);
}

.pricing-container {
  max-width: 1150px;
  margin: 0 auto;
}

/* Category Switch */
.category-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 60px;
  animation: fadeIn 1s var(--ws-ease-cine) 0.3s backwards;
}

.switch-wrapper {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 50px;
  padding: 6px;
  display: flex;
  gap: 6px;
  backdrop-filter: blur(10px);
  position: relative;
}

.switch-option {
  padding: 12px 32px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.4s var(--ws-ease-cine);
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}

.switch-option.active {
  color: var(--bg);
}

.switch-slider {
  position: absolute;
  background: var(--accent);
  border-radius: 50px;
  transition: all 0.4s var(--ws-ease-cine);
  height: calc(100% - 12px);
  top: 6px;
  left: 6px;
  box-shadow: 0 4px 12px rgba(57, 255, 20, 0.3);
}

body.light-mode .switch-slider {
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Cards Grid - Mit Schwerpunkt auf mittlerer Karte */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 80px;
  opacity: 0;
  animation: fadeInUp 0.8s var(--ws-ease-cine) 0.5s forwards;
  align-items: center;
}

.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 40px;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ws-ease-cine);
  cursor: pointer;
  transform: scale(0.95);
}

/* Mittlere Karte hervorheben */
.pricing-card:nth-child(2) {
  transform: scale(1.05);
  z-index: 10;
}

.pricing-card:hover {
  transform: scale(0.98) translateY(-8px);
  border-color: var(--accent);
  box-shadow: 0 20px 60px rgba(57, 255, 20, 0.15);
}

.pricing-card:nth-child(2):hover {
  transform: scale(1.08) translateY(-8px);
}

body.light-mode .pricing-card:hover {
  box-shadow: 0 20px 60px rgba(16, 185, 129, 0.15);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: var(--radio-bg);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.4s var(--ws-ease-cine);
  border-color: var(--accent-hover);
  border: 10px;
}

.pricing-card:hover .card-icon {
  background: var(--accent);
  transform: rotate(10deg) scale(1.1);
}

.pricing-card:hover .card-icon svg {
  stroke: var(--bg);
}

.card-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.card-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.6;
}

.card-price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.card-price-period {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

.card-features {
  list-style: none;
  margin-bottom: 32px;
}

.card-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.card-features svg {
  flex-shrink: 0;
  margin-top: 2px;
  stroke: var(--accent);
}

.card-button {
  width: 100%;
  padding: 16px 32px;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s var(--ws-ease-cine);
}

.card-button:hover {
  background: var(--accent-hover);
  transform: scale(1.05);
}

/* Maintenance Section */
.maintenance-section {
  margin-top: 100px;
  animation: fadeInUp 0.8s var(--ws-ease-cine) 0.7s backwards;
    padding: 0 20px; 
}

.maintenance-header {
  text-align: center;
  margin-bottom: 60px;
}

.maintenance-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.maintenance-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.maintenance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.pricing-grid,
.maintenance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.speed-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.speed-bars {
  display: flex;
  gap: 2px;
}

.speed-bar {
  width: 3px;
  height: 12px;
  background: var(--accent);
  border-radius: 2px;
  animation: speedPulse 1s ease-in-out infinite;
}

.speed-bar:nth-child(2) {
  animation-delay: 0.1s;
}

.speed-bar:nth-child(3) {
  animation-delay: 0.2s;
}

.speed-bar:nth-child(4) {
  animation-delay: 0.3s;
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes speedPulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(1);
  }
  50% {
    opacity: 1;
    transform: scaleY(1.5);
  }
}

.hidden {
  display: none;
}

/* Responsive */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card {
    transform: scale(1) !important;
  }

  .pricing-card:nth-child(2) {
    transform: scale(1) !important;
  }

  .pricing-card:hover {
    transform: scale(1.02) translateY(-8px) !important;
  }
}

@media (max-width: 768px) {
  .switch-option {
    padding: 10px 24px;
    font-size: 0.9rem;
  }
}

/* Light Mode für Navigation Controls */
body.light-mode .nav-controls {
  background: rgba(224, 224, 224, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.12);
}

body.light-mode .nav-btn {
  background: rgba(240, 240, 240, 0.8);
  border: 2px solid rgba(0, 0, 0, 0.15);
  color: #0f172a;
}

body.light-mode .nav-btn:hover:not(:disabled) {
  border-color: var(--wf-accent);
  background: rgba(16, 185, 129, 0.15);
  color: var(--wf-accent);
}

/* Phone Mockup Light Mode */
body.light-mode .phone-mockup {
  background: linear-gradient(145deg, #f5f5f5, #e8e8e8);
  border: 12px solid #d0d0d0;
  outline: 2px solid #cccccc;
}

body.light-mode .phone-notch {
  background: #e0e0e0;
}

body.light-mode .phone-speaker {
  background: #b0b0b0;
}

body.light-mode .phone-camera {
  background: #d5d5d5;
  border: 1px solid #aaa;
}

body.light-mode .chat-screen {
  background: linear-gradient(180deg, #ffffff 0%, #f5f5f5 100%);
}

body.light-mode .chat-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

body.light-mode .chat-name {
  color: #0f172a;
}

body.light-mode .msg-in {
  background: linear-gradient(135deg, #e8e8e8, #f0f0f0);
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

body.light-mode .msg-out {
  background: #10b981;
  color: #fff;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

body.light-mode .chat-input-bar {
  background: rgba(245, 245, 245, 0.95);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .input-wrapper {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .chat-input-bar input {
  color: #0f172a;
}

body.light-mode .chat-input-bar input::placeholder {
  color: #999;
}

body.light-mode .send-btn {
  background: #10b981;
}

/* VSCode Window Light Mode */
body.light-mode .vscode-window {
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

body.light-mode .vscode-titlebar {
  background: #e0e0e0;
}

body.light-mode .vscode-tabs {
  background: #f3f3f3;
  border-bottom: 1px solid #e0e0e0;
}

body.light-mode .vscode-editor {
  background: #ffffff;
  color: #0f172a;
}

body.light-mode .line-number {
  color: #999;
}

body.light-mode .keyword {
  color: #0066cc;
}

body.light-mode .string {
  color: #059669;
}

body.light-mode .function {
  color: #795e26;
}

body.light-mode .comment {
  color: #008000;
}

/* ========== HEADER LOGO STYLES ========== */
.logo-wordmark {
  font-weight: 900;
  letter-spacing: -1px;
  font-size: 1.5rem;
  color: var(--text);
}

.logo-sos {
  color: var(--accent);
  transition: color 0.3s ease;
}

/* ========== MODE TOGGLE - MINIMALIST ========== */
.mode-toggle {
  position: fixed !important;
  top: 20px !important;
  right: 20px !important;
  z-index: 10003 !important;

  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 50px;
  padding: 6px 14px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.mode-toggle:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.toggle-track {
  width: 40px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  transition: all 0.3s ease;
}

body.light-mode .toggle-track {
  background: rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.toggle-icon {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #f1f1f1;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.3s ease;
}

body.light-mode .toggle-icon {
  transform: translateX(18px);
  background: var(--accent);
}

/* Labels */
.toggle-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--text);
  opacity: 0.5;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.label-night {
  display: inline;
}

.label-day {
  display: none;
}

body.light-mode .label-night {
  display: none;
}

body.light-mode .label-day {
  display: inline;
}

.mode-toggle:hover .toggle-label {
  opacity: 1;
  color: var(--accent);
}

/* ========== INTRO LOGO WRAPPER ========== */
.intro-logo-wrapper {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  width: 100%;
  height: auto;
  max-width: 640px;
}

/* ========== HEADER & TOGGLE FIXES ========== */
.logo-wordmark {
  font-weight: 900;
  letter-spacing: -1px;
  font-size: 1.5rem;
  color: var(--text);
}

.mode-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 50px;
  padding: 6px 14px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  cursor: pointer;
}
.mode-toggle:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.toggle-track {
  width: 40px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  transition: all 0.3s ease;
}
body.light-mode .toggle-track {
  background: rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.15);
}
.toggle-icon {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #f1f1f1;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.3s ease;
}
body.light-mode .toggle-icon {
  transform: translateX(18px);
  background: var(--accent);
}
.toggle-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--text);
  opacity: 0.5;
  transition: opacity 0.3s ease, color 0.3s ease;
}
.label-night {
  display: inline;
}
.label-day {
  display: none;
}
body.light-mode .label-night {
  display: none;
}
body.light-mode .label-day {
  display: inline;
}
.mode-toggle:hover .toggle-label {
  opacity: 1;
  color: var(--accent);
}

/* ========== FIX STEP NUMBER COLOR ========== */
/* WICHTIG: Wir überschreiben die Standard-Regel mit !important um sicherzugehen */
.step-number {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 15px;
  display: block;
  color: var(--accent);
  background: none;
  -webkit-text-fill-color: initial;
}

/* Fallback für bessere Browser-Unterstützung */
@supports not (background-clip: text) {
  .step-number {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 15px;
    display: block;
    color: var(--accent);
    background: none;
    -webkit-text-fill-color: initial;
  }
}

/* DARK MODE SPECIFIC OVERRIDE FOR SUPPORT CARDS */
body:not(.light-mode) .support-card:hover {
  border-color: rgba(255, 255, 255, 0.2) !important; /* Neutraler Border */
  box-shadow: 0 10px 30px -10px rgba(57, 255, 20, 0.15) !important; /* Grüner Glow bleibt */
}

/* Light Mode behält sein Verhalten (falls definiert) oder nutzt Defaults */

#mode-toggle {
  color: var(--accent) !important;
}

/* ========================================= */
/*     MOBILE FIXES - FINAL VERSION         */
/* ========================================= */

/* === HAMBURGER MENU BUTTON === */

/* Mobile Overlay */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.mobile-overlay.active {
  display: block;
  opacity: 1;
  pointer-events: all;
}

@media (max-width: 768px) {
  /* === NAVBAR ALS SIDEBAR VON RECHTS === */
  #nav-menu {
    /* WICHTIG: Nicht display none, sondern transform nutzen */
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    width: 280px !important;
    height: 100vh !important;
    background: var(--bg) !important;
    border-left: 1px solid var(--card-border) !important;
    border-radius: 0 !important;
    padding: 100px 30px 30px 30px !important;
    flex-direction: column !important;
    gap: 0 !important;
    z-index: 9999 !important;
    overflow-y: auto !important;

    /* Startet außerhalb rechts */
    transform: translateX(100%) !important;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  }

  /* Wenn geöffnet: Gleitet rein */
  #nav-menu.mobile-open {
    transform: translateX(0) !important;
  }

  /* === HAMBURGER BUTTON ANZEIGEN === */

  /* === NAV LINKS STYLING === */
  .nav-link {
    font-size: 1.1rem !important;
    letter-spacing: 0.05em !important;
    padding: 18px 0 !important;
    border-bottom: 1px solid var(--card-border) !important;
    width: 100% !important;
    text-align: left !important;
    display: block !important;
    opacity: 1 !important;
  }

  .nav-link.active::after {
    bottom: 16px !important;
    left: 0 !important;
    transform: none !important;
  }

  .nav-link:hover {
    padding-left: 8px !important;
  }

  /* === LIGHT/DARK MODE TOGGLE UNTEN RECHTS === */
  #mode-toggle-btn {
    position: fixed !important;
    bottom: 20px !important;
    left: 20px !important;
    top: auto !important;
    right: auto !important;
    z-index: 1000 !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 12px !important;
    background: var(--card-bg) !important;
    border: 1px solid var(--card-border) !important;
    backdrop-filter: blur(10px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.3rem !important;
    transition: all 0.3s ease !important;
  }

  #mode-toggle-btn:hover {
    border-color: var(--accent) !important;
    transform: scale(1.05) !important;
  }

  /* === VERHINDERE HORIZONTALES SCROLLEN === */
  body {
    overflow-x: hidden !important;
  }

  * {
    max-width: 100vw;
  }

  /* === WORKFLOW MOBILE === */
  .workflow-container {
    flex-direction: column !important;
    padding: 5% !important;
    min-height: auto !important;
  }

  .workflow-text-track {
    width: 100% !important;
    height: auto !important;
    position: relative !important;
    padding: 0 !important;
    min-height: 250px;
  }

  .workflow-visuals {
    width: 100% !important;
    height: 400px !important;
  }

  .text-step {
    position: relative !important;
    transform: none !important;
  }

  .text-step h3 {
    font-size: 1.6rem !important;
  }

  .text-step p {
    font-size: 1rem !important;
  }

  .step-number {
    font-size: 2rem !important;
  }

  .nav-controls {
    position: relative !important;
    margin-top: 20px;
  }

  .phone-mockup {
    width: 240px !important;
    height: 460px !important;
  }

  .browser-window,
  .vscode-window {
    width: 95% !important;
  }

  /* === PRICING MOBILE === */
  .pricing-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    padding: 0 5% !important;
  }

  .price-card {
    padding: 2rem 1.5rem !important;
  }

  .price-amount {
    font-size: 2.5rem !important;
  }

  /* === KONTAKT MOBILE === */
  form {
    width: 100% !important;
    padding: 0 !important;
  }

  input,
  textarea {
    width: 100% !important;
    padding: 16px !important;
    box-sizing: border-box !important;
  }

  .btn {
    /* width: 100% !important; REMOVED FOR CENTERING */
    padding: 16px !important;
  }

  /* === TYPOGRAPHY === */
  h1 {
    font-size: clamp(2.5rem, 10vw, 5rem) !important;
  }

  h2 {
    font-size: clamp(1.8rem, 7vw, 3.5rem) !important;
  }

  section {
    padding: 80px 5% !important;
  }

  /* === FOOTER === */
  .footer-content {
    grid-template-columns: 1fr !important;
    gap: 3rem !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    text-align: center !important;
  }

  /* === BENTO GRID === */
  .bento-grid {
    grid-template-columns: 1fr !important;
  }

  .search-card,
  .revenue-card,
  .ghost-card,
  .availability-card {
    grid-column: span 1 !important;
  }

  /* === MODE SELECTOR === */
  #mode-selector {
    flex-direction: column !important;
  }

  .split-side {
    width: 100% !important;
    height: 50% !important;
  }

  .split-side:hover {
    width: 100% !important;
    height: 55% !important;
  }

  /* === SUPPORT DASHBOARD === */
  .support-grid {
    grid-template-columns: 1fr !important;
  }

  .dashboard-header {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  /* === SCROLL ELEMENTS === */
  #scroll-to-top {
    bottom: 20px !important;
    right: 20px !important;
    width: 45px !important;
    height: 45px !important;
  }

  #progress-container {
    display: none !important;
  }
}

@media (max-width: 480px) {
  #nav-menu {
    width: 85vw !important;
  }

  .workflow-visuals {
    height: 350px !important;
  }

  .phone-mockup {
    width: 200px !important;
    height: 400px !important;
  }
}

/* ========== NAVBAR ENTRANCE ANIMATIONS ========== */
/* Keyframe für das Einsliden beim Laden */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Nav-Items: Initial-Animation beim Seitenladen */
.navbar .nav-item {
  opacity: 0;
  animation: slideInRight 0.5s var(--ws-ease-cine) forwards;
  /* Entferne die transform/opacity overrides, damit die Animation läuft */
}

/* Staggered Delays - jedes Item kommt nacheinander */
.nav-item:nth-child(1) {
  animation-delay: 0.1s;
}
.nav-item:nth-child(2) {
  animation-delay: 0.15s;
}
.nav-item:nth-child(3) {
  animation-delay: 0.2s;
}
.nav-item:nth-child(4) {
  animation-delay: 0.25s;
}
.nav-item:nth-child(5) {
  animation-delay: 0.3s;
}
.nav-item:nth-child(6) {
  animation-delay: 0.35s;
}
.nav-item:nth-child(7) {
  animation-delay: 0.4s;
}
.nav-item:nth-child(8) {
  animation-delay: 0.45s;
}

/* Nav-Icon bleibt sichtbar */
.nav-icon {
  opacity: 1 !important;
}

/* Nav-Text: Transition für Expand/Collapse */
.nav-text {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

body:not(.nav-expanded) .nav-text {
  opacity: 0;
  transform: translateX(-20px);
}

body.nav-expanded .nav-text {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered Delays für Nav-Text beim Erweitern */
body.nav-expanded .nav-item:nth-child(1) .nav-text {
  transition-delay: 0.1s;
}
body.nav-expanded .nav-item:nth-child(2) .nav-text {
  transition-delay: 0.15s;
}
body.nav-expanded .nav-item:nth-child(3) .nav-text {
  transition-delay: 0.2s;
}
body.nav-expanded .nav-item:nth-child(4) .nav-text {
  transition-delay: 0.25s;
}
body.nav-expanded .nav-item:nth-child(5) .nav-text {
  transition-delay: 0.3s;
}
body.nav-expanded .nav-item:nth-child(6) .nav-text {
  transition-delay: 0.35s;
}
body.nav-expanded .nav-item:nth-child(7) .nav-text {
  transition-delay: 0.4s;
}
body.nav-expanded .nav-item:nth-child(8) .nav-text {
  transition-delay: 0.45s;
}

/* Nav-User Animation */
.navbar .nav-user {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s,
    transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s;
}

body:not(.nav-expanded) .navbar .nav-user {
  opacity: 0;
  transform: translateY(20px);
  transition: none;
}

body.nav-expanded .navbar .nav-user {
  opacity: 1;
  transform: translateY(0);
}

/* Logo-Wordmark Animation */
.logo-wordmark {
  opacity: 0;
  transform: translateX(-15px);
  transition: opacity 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s,
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s;
}

body.nav-expanded .logo-wordmark {
  opacity: 1;
  transform: translateX(0);
}

/* Tooltip Animationen */
.nav-tooltip {
  transform: translateY(-50%) translateX(-10px);
  transition: opacity 0.2s ease, transform 0.3s var(--ws-ease-cine);
}

/* Beim Hover: Tooltip slidet sanft nach rechts raus */
.nav-item:hover .nav-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
  transition-delay: 0.55s;
}

/* ========== UMSATZ CARD HORIZONTALE BARS ========== */
.revenue-card {
  position: relative;
  overflow: visible;
}

.revenue-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-top: 20px;
  padding: 0 10px;
}

.revenue-bar {
  width: 0%;
  height: 18px;
  background: linear-gradient(
    90deg,
    var(--accent) 0%,
    rgba(57, 255, 20, 0.3) 100%
  );
  border-radius: 0 9px 9px 0;
  animation: barGrowHorizontal 7s ease-in-out infinite;
  transform-origin: left;
  position: relative;
}

.revenue-bar:nth-child(1) {
  animation-delay: 0s;
}
.revenue-bar:nth-child(2) {
  animation-delay: 0.2s;
}
.revenue-bar:nth-child(3) {
  animation-delay: 0.4s;
}
.revenue-bar:nth-child(4) {
  animation-delay: 0.6s;
}
.revenue-bar:nth-child(5) {
  animation-delay: 0.8s;
}

@keyframes barGrowHorizontal {
  0%,
  100% {
    width: 15%;
    opacity: 0.4;
  }
  15% {
    width: 85%;
    opacity: 1;
  }
  30% {
    width: 70%;
    opacity: 0.9;
  }
  45% {
    width: 90%;
    opacity: 1;
  }
  60% {
    width: 65%;
    opacity: 0.8;
  }
  75% {
    width: 95%;
    opacity: 1;
  }
  90% {
    width: 55%;
    opacity: 0.7;
  }
}

/* =============================== */
/* =============================== */
/* WORKFLOW: MOBILE OPTIMIZED (FIX) */
/* =============================== */

@media (max-width: 992px) {
  /* 1. Layout Reset & Spacing */
  #workflowSection {
    padding-top: 20px !important;
    padding-bottom: 60px !important;
  }

  .workflow-container {
    flex-direction: column;
    min-height: auto !important;
    gap: 0;
    margin-top: 0 !important;
    position: relative;
  }

  /* 2. Visuals: Focus Area */
  .workflow-visuals {
    width: 100%;
    height: 55vh !important;
    min-height: 400px;
    max-height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
    margin-bottom: 10px;
    mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
  }

  .visual-stage {
    transform: none !important;
    width: 100% !important;
    display: flex;
    justify-content: center;
  }

  /* 3. NEUE NAVIGATION: Floating Control Deck */
  .nav-controls {
    position: absolute !important;
    top: 52vh;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: auto !important;
    min-width: 200px;
    z-index: 50;

    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    padding: 8px 12px;

    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.5);
    margin: 0 !important;
  }

  .nav-btn {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-btn:active {
    background: var(--accent);
    transform: scale(0.9);
  }

  .nav-dots {
    display: flex !important;
    gap: 6px;
  }

  .nav-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    padding: 0;
  }

  .nav-dot.active {
    background: var(--accent);
    transform: scale(1.2);
  }

  /* 4. Text Steps: Kompakt darunter */
  .workflow-text-track {
    width: 100%;
    padding: 0 24px;
    text-align: center;
    min-height: 250px;
  }

  .text-step {
    position: relative !important;
    transform: none !important;
    display: none;
    opacity: 0;
    animation: fadeInUpMobile 0.4s ease forwards;
  }

  .text-step.active {
    display: block !important;
    opacity: 1 !important;
  }

  .step-number {
    font-size: 1.5rem;
    margin-bottom: 10px;
    opacity: 0.5;
    display: none;
  }

  .text-step h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
    color: #fff;
  }

  .text-step p {
    font-size: 1rem;
    line-height: 1.6;
    color: #aaa;
  }

  @keyframes fadeInUpMobile {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* 5. Swipe-Hint Indicator */
  .workflow-visuals::after {
    content: "← swipe →"; /* Lowercase/Small caps style often looks cleaner, or keep uppercase but small */
    position: absolute;
    left: 50%;
    top: 25%;
    bottom: auto;
    transform: translate(-50%, -50%);
    z-index: 100;

    font-size: 0.8rem; /* Much smaller */
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;

    color: rgb(255, 255, 255);
    background: rgba(86, 204, 40, 0.342); /* Subtle bg */
    border: 1px solid rgba(255, 255, 255, 0.15); /* Very subtle border */
    border-radius: 50px;
    padding: 6px 14px; /* Compact padding */

    /* No Box Shadow / Glow */
    box-shadow: none;

    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);

    pointer-events: none;
    animation: wfSwipeHintAnim 3s ease-in-out;
  }

  @keyframes wfSwipeHintAnim {
    0%,
    100% {
      opacity: 0.8;
    }
    50% {
      opacity: 1;
    }
  }

  /* Fehlende Animation - vermutlich für einen anderen Effekt */
  @keyframes yourAnimationName {
    0% {
      opacity: 0;
      transform: translateX(-50%) translateY(0);
    }
    50% {
      opacity: 0.95;
      transform: translateX(-50%) translateY(-2px);
    }
    100% {
      opacity: 0;
      transform: translateX(-50%) translateY(0);
    }
  }

  body.wf-interacted .workflow-visuals::after {
    opacity: 0 !important;
    animation: none !important;
  }

  /* 6. Phone Mockup – cleaner Mobile Look */
  .phone-mockup {
    height: min(520px, 52vh) !important;
    width: auto !important;
    aspect-ratio: 300 / 580;

    border-radius: 38px !important;
    border-width: 10px !important;
    outline: none !important;

    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55),
      0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  }

  .phone-notch {
    width: 120px !important;
    height: 26px !important;
    border-bottom-left-radius: 18px !important;
    border-bottom-right-radius: 18px !important;
  }

  .phone-speaker {
    width: 54px !important;
    height: 4px !important;
    top: 9px !important;
  }

  .phone-camera {
    top: 11px !important;
    right: 28px !important;
    width: 8px !important;
    height: 8px !important;
  }

  .chat-screen {
    margin-top: 38px !important;
    padding: 16px 12px 70px 12px !important;
  }

  .msg {
    font-size: 0.85rem !important;
    padding: 10px 14px !important;
    border-radius: 18px !important;
  }

  /* V14: Mobile Layout Fixes */
  @media (max-width: 992px) {
    .workflow-visuals {
      height: auto !important;
      min-height: 200px !important;
      display: flex !important;
      flex-direction: column;
      align-items: center;
      padding: 0 !important;
      overflow: visible !important;
      margin-bottom: 20px !important;
    }
    .visual-stage {
      width: 100% !important;
      max-width: 450px !important;
      height: auto !important;
      display: flex;
      flex-direction: column;
      align-items: center;
      position: relative;
    }
    .scene {
      position: relative !important;
      inset: auto !important;
      transform: none !important;
      opacity: 1 !important;
      display: none !important;
      width: 100% !important;
      height: auto !important;
      border: none !important;
      background: transparent !important;
      padding: 0 !important;
      margin: 0 !important;
      box-shadow: none !important;
    }
    .scene.active {
      display: flex !important;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      animation: fadeInMobile 0.4s ease forwards;
    }
    .phone-mockup {
      width: 100% !important;
      max-width: 215px !important;
      height: auto !important;
      aspect-ratio: 9/19;
      margin: 0 auto;
      transform: none !important;
      box-shadow: none !important;
    }
    .phone-mockup .chat-screen {
      padding: 15px 10px 60px 10px !important;
      overflow: hidden !important;
    }
    .phone-mockup .msg {
      font-size: 0.72rem !important;
      padding: 6px 10px !important;
      margin-bottom: 8px !important;
      max-width: 85% !important;
    }
    .phone-mockup .chat-avatar {
      width: 28px !important;
      height: 28px !important;
      font-size: 0.9rem !important;
    }
    .design-studio {
      width: 100% !important;
      max-width: 100% !important;
      padding: 10px !important;
      overflow: visible !important;
      display: flex !important;
      flex-direction: column;
      align-items: center;
      justify-content: center !important;
      height: auto !important;
      min-height: 320px !important;
      margin-bottom: 0 !important;
    }
    .design-studio .branding-header,
    .design-studio .branding-title,
    .design-studio p {
      display: none !important;
    }
    .concept-grid {
      display: grid !important;
      grid-template-columns: 1fr 1fr !important;
      gap: 12px !important;
      width: 100% !important;
      max-width: 320px !important;
      margin: 0 auto !important;
      padding: 0 0 10px 0 !important;
    }
    .concept-card {
      position: relative !important;
      transform: none !important;
      width: 100% !important;
      margin: 0 !important;
      padding: 14px !important;
      font-size: 0.75rem !important;
      border-radius: 12px !important;
      aspect-ratio: 1 / 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      overflow: visible !important;
    }
    .concept-card:nth-child(3) {
      grid-column: span 2 !important;
      aspect-ratio: 2.2 / 1 !important;
    }
    .concept-badge {
      font-size: 0.65rem !important;
      padding: 3px 8px !important;
      margin: 0 auto 8px auto !important;
      display: block !important;
      text-align: center !important;
    }
    .concept-logo {
      width: 50px !important;
      height: 50px !important;
      margin-bottom: 8px !important;
    }
    .concept-logo svg {
      width: 100% !important;
      height: 100% !important;
    }
    .color-dots {
      margin-top: 6px !important;
      margin-bottom: 4px !important;
      display: flex !important;
      gap: 6px !important;
      justify-content: center !important;
    }
    .vscode-window,
    .browser-window {
      width: 100% !important;
      max-width: 340px !important;
      height: auto !important;
      transform: none !important;
    }
    .vscode-window {
      min-height: 280px !important;
      margin: 0 auto !important;
    }
    .browser-window {
      min-height: 240px !important;
      margin: 0 auto !important;
    }
    .support-dashboard {
      width: 100% !important;
      max-width: 400px !important;
      padding: 0 !important;
      margin-bottom: 0 !important;
      overflow: visible !important;
      display: flex !important;
      flex-direction: column;
      height: auto !important;
    }
    .dashboard-header {
      display: none !important;
    }
    .support-grid {
      display: grid !important;
      grid-template-columns: 1fr 1fr !important;
      gap: 12px !important;
      width: 100% !important;
      margin: 0 !important;
    }
    .support-card {
      padding: 12px !important;
      border-radius: 12px !important;
      display: flex !important;
      flex-direction: column !important;
      justify-content: center !important;
      align-items: center !important;
      text-align: center !important;
      aspect-ratio: 1 / 1 !important;
      min-height: 138px !important;
      overflow: hidden !important;
      position: relative !important;
    }
    .support-card .icon-box,
    .support-card .icon-wrapper,
    .support-card > svg,
    .support-card h4,
    .support-card .card-label,
    .support-card .card-top-row .card-label,
    .support-card .text-block-small span,
    .support-card .text-block span {
      display: none !important;
    }
    .card-metric,
    .support-card .animation-wrapper,
    .support-card .anim-container,
    .support-card .status-indicator {
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      transform: scale(1.1) !important;
      margin: auto !important;
    }
    .card-metric {
      font-size: 2rem !important;
      font-weight: 800 !important;
    }
    .support-card .text-block-small strong,
    .support-card .text-block strong {
      display: block !important;
      font-size: 0.8rem !important;
      font-weight: 700 !important;
      margin-top: auto !important;
      padding-bottom: 2px !important;
    }
    .card-change,
    .card-status {
      font-size: 0.75rem !important;
      font-weight: 600 !important;
      margin-top: auto !important;
      padding-bottom: 2px !important;
    }
    .workflow-text-track {
      height: auto !important;
      min-height: 0 !important;
      padding: 0 20px 60px !important;
      display: block !important;
      width: 100% !important;
    }
    .text-step {
      position: relative !important;
      display: none !important;
      opacity: 1 !important;
      transform: none !important;
      text-align: center;
      margin-top: 0;
    }
    .text-step.active {
      display: block !important;
    }
    .text-step h3 {
      font-size: 1.8rem !important;
      margin-bottom: 10px !important;
    }
    .text-step p {
      font-size: clamp(1rem, 1.5vw, 1.2rem) !important;
      line-height: 1.6 !important;
      max-width: 650px !important;
      margin: 0 auto !important;
      opacity: 0.8 !important;
      color: var(--text) !important;
      font-weight: 400 !important;
    }
    body.light-mode .text-step p {
      color: #0f172a !important;
      opacity: 0.8 !important;
    }
    .nav-controls {
      position: relative !important;
      bottom: auto !important;
      left: auto !important;
      margin: 10px auto 0 auto;
      justify-content: center;
      width: 100%;
    }
    @keyframes fadeInMobile {
      from {
        opacity: 0;
        transform: translateX(30px) scale(0.95);
      }
      to {
        opacity: 1;
        transform: translateX(0) scale(1);
      }
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* V15: UI Polish */
  #progress-container {
    gap: 8px !important;
  }
  #progress-text {
    font-family: "Inter", -apple-system, sans-serif;
    font-size: 0.75rem;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    letter-spacing: 2px;
    margin-bottom: 5px;
    color: var(--accent);
    font-weight: 700;
  }
  #progress-bar-bg {
    width: 4px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  }
  #progress-bar-fill {
    background: var(--accent) !important;
    border-radius: 4px;
    box-shadow: 0 0 15px var(--accent), 0 0 5px var(--accent);
    will-change: height;
    transition: height 0.1s linear;
  }
  @keyframes breatheBarDynamic {
    0% {
      transform: scaleY(0.4);
      opacity: 0.6;
    }
    50% {
      transform: scaleY(1.1);
      opacity: 1;
    }
    100% {
      transform: scaleY(0.3);
      opacity: 0.5;
    }
  }
  .mini-chart .bar {
    animation: breatheBarDynamic 2.5s ease-in-out infinite alternate !important;
    transform-origin: bottom;
  }
  .chart-bar-1 {
    animation-delay: 0s !important;
    animation-duration: 2s !important;
  }
  .chart-bar-2 {
    animation-delay: 0.4s !important;
    animation-duration: 3s !important;
  }
  .chart-bar-3 {
    animation-delay: 0.8s !important;
    animation-duration: 1.8s !important;
  }
  .chart-bar-4 {
    animation-delay: 0.2s !important;
    animation-duration: 2.4s !important;
  }

  /* V16: Navbar Fixes */
  .nav-link-new {
    transition: color 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
      transform 0.3s ease !important;
  }
  .nav-link-new::before,
  body.light-mode .nav-link-new::before {
    display: none !important;
    content: none !important;
    width: 0 !important;
  }
  .nav-link-new:hover,
  body.light-mode .nav-link-new:hover {
    background: transparent !important;
    color: var(--accent) !important;
  }
  .nav-link-new.active,
  body.light-mode .nav-link-new.active {
    color: var(--accent) !important;
    box-shadow: none !important;
  }
  .nav-link-new .nav-icon svg,
  body.light-mode .nav-link-new .nav-icon svg {
    stroke: currentColor !important;
    transition: stroke 0.5s ease !important;
  }
  .nav-link-new::after,
  .nav-link-new.active::after,
  body.light-mode .nav-link-new.active::after {
    display: none !important;
  }

  /* V17: Cursor & Button Fix */
  @keyframes blink {
    0%,
    100% {
      opacity: 1;
    }
    50% {
      opacity: 0;
    }
  }

  .cursor {
    animation: blink 1s step-end infinite !important;
    font-weight: 700;
  }
}

/* ========== UNIFIED SECTION SPACING (ADDED) ========== */
/* Consistent spacing for ALL section headers */
section h2,
.section-header h2,
.bento-section h2,
.contact-wrapper h2,
.cta-section h2,
.why-header-minimal h2,
#pricing .section-header h2,
.maintenance-header h2 {
  margin-bottom: var(--section-header-margin) !important;
}

/* Unified section padding */
section,
.bento-section,
#pricing,
.maintenance-section {
  padding-bottom: var(--section-spacing);
}



/* ========================================= */
/*    MOBILE FIXES - SUPPORT & KONTAKT      */
/* ========================================= */

/* RESPONSIVE - Kontaktformular */
@media (max-width: 950px) {
  .contact-card {
    grid-template-columns: 1fr;
  }

  .contact-info {
    border-right: none;
    border-bottom: 1px solid var(--glass-border);
    padding: 40px 30px;
  }

  .form-section {
    padding: 40px 30px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .radio-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 500px) {
  .submit-btn {
    width: 100%;
    float: none;
  }
}

/* ========================================= */
/*    SUPPORT & WARTUNG - MOBILE FIX        */
/* ========================================= */

@media (max-width: 768px) {
  /* Support Dashboard auf Mobile wie Pricing Grid */
  .support-dashboard {
    width: 100% !important;
    padding: 20px !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 15px !important;
    height: auto !important;
    min-height: auto !important;
  }

  /* Dashboard Header ausblenden auf Mobile */
  .dashboard-header {
    display: none !important;
  }

  /* Support Grid wird zu simple Grid */
  .support-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 15px !important;
    width: 100% !important;
    margin: 0 !important;
  }

  /* Support Cards werden zu einfachen Cards wie Pricing */
  .support-card {
    padding: 25px !important;
    border-radius: 16px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    min-height: auto !important;
    height: auto !important;
    background: var(--card-bg) !important;
    border: 1px solid var(--card-border) !important;
  }

  /* Icon Box sichtbar machen */
  .support-card .icon-box,
  .support-card .icon-wrapper {
    display: flex !important;
    width: 48px !important;
    height: 48px !important;
    background: var(--card-border) !important;
    border-radius: 12px !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 15px !important;
    flex-shrink: 0 !important;
  }

  .support-card svg {
    width: 24px !important;
    height: 24px !important;
    display: block !important;
  }

  /* Card Label / Titel */
  .support-card h4,
  .support-card .card-label {
    display: block !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
    color: var(--text) !important;
  }

  /* Metric / Wert */
  .card-metric,
  .support-card .text-block-small strong,
  .support-card .text-block strong {
    display: block !important;
    font-size: 1.8rem !important;
    font-weight: 800 !important;
    color: var(--accent) !important;
    margin-bottom: 5px !important;
  }

  /* Beschreibung / Change */
  .card-change,
  .card-status,
  .support-card .text-block-small span,
  .support-card .text-block span {
    display: block !important;
    font-size: 0.85rem !important;
    color: var(--text-muted) !important;
    margin-top: 5px !important;
  }

  /* Animation Wrapper verstecken auf Mobile */
  .support-card .animation-wrapper,
  .support-card .anim-container {
    display: none !important;
  }

  /* Card Top Row */
  .support-card .card-top-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    width: 100% !important;
  }
}

/* Extra Small Devices */
@media (max-width: 480px) {
  .contact-wrapper {
    width: 95% !important;
    padding: 20px !important;
  }

  .contact-info,
  .form-section {
    padding: 30px 20px !important;
  }

  .support-card {
    padding: 20px !important;
  }

  .card-metric {
    font-size: 1.5rem !important;
  }
}
