/* ==========================================================================
   KI BERATUNG LANDINGPAGE - SPEZIFISCHE STYLES
   Ergänzt die bestehenden Theme-Styles
   
   MOBILE FIXES v1.0 - 21.01.2026:
   - FIX 1: FAQ Accordion iOS/Safari
   - FIX 2: Überschriften Word-Break
   - FIX 3: Counter Animation
   - FIX 4: Logos größer auf Mobile
   ========================================================================== */

/* ==========================================================================
   FIX 2: ÜBERSCHRIFTEN - WORD BREAK KORREKTUR (GLOBAL)
   Verhindert Umbruch mitten im Wort wie "Antworte n"
   ========================================================================== */

h1, h2, h3, h4, h5, h6,
.section-header h2,
.section-header-small h2,
.ki-faq-section h2,
.ki-team-section h2,
.ki-seo-section h2,
.ki-seo-section h3,
.cta-content h2,
.mittelstand-content h2,
.usp-text h2,
.ki-why-section h2,
.ki-process-section h2,
.ki-usecases-section h2 {
  word-break: normal !important;
  overflow-wrap: normal !important;
  word-wrap: normal !important;
  hyphens: none !important;
  -webkit-hyphens: none !important;
  -moz-hyphens: none !important;
  -ms-hyphens: none !important;
}

/* Highlight Spans - kein Break */
h2 .highlight,
h3 .highlight,
.section-header h2 .highlight {
  display: inline !important;
  word-break: normal !important;
  white-space: normal !important;
}

/* ---------- HERO ENHANCEMENTS ---------- */
.ki-beratung-hero .hero-content {
  max-width: 900px;
}

/* Hero Zentriert */
.hero-centered {
  text-align: center !important;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-centered h1 {
  text-align: center;
}

.hero-centered p {
  text-align: center;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 230, 168, 0.15);
  border: 1px solid rgba(0, 230, 168, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #00e6a8;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.hero-badge svg {
  flex-shrink: 0;
}

.ki-beratung-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  display: block;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 400;
  opacity: 0.9;
  margin-top: 0.5rem;
}

/* Hero CTA Group - ZENTRIERT */
.hero-cta-group {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 1rem !important;
  margin-top: 2rem !important;
  justify-content: center !important;
  width: 100% !important;
  align-items: center !important;
  text-align: center !important;
}

.hero-centered .hero-cta-group,
.ki-beratung-hero .hero-cta-group {
  justify-content: center !important;
  display: flex !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.hero-btn.primary-btn {
  background: #00e6a8;
  color: #0d0d0d;
}

.hero-btn.primary-btn:hover {
  background: #00c39f;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 230, 168, 0.35);
}

.hero-btn.secondary-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
}

.hero-btn.secondary-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

.hero-btn.large {
  padding: 1.1rem 2.2rem;
  font-size: 1.1rem;
}

.hero-btn svg {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.hero-btn:hover svg {
  transform: translateX(3px);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  cursor: pointer;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* ---------- TRUST BADGES ---------- */
.ki-trust-badges {
  background: #141820;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-badges-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  font-weight: 500;
}

/* ==========================================================================
   KUNDEN / REFERENZEN SECTION - DUNKLER GRADIENT
   FIX 4: Logos größer auf Mobile
   ========================================================================== */
.ki-kunden-section {
  background: linear-gradient(180deg, #1a1f27 0%, #141820 50%, #181c22 100%) !important;
  padding: 4rem 0 5rem !important;
}

.ki-kunden-section .container {
  max-width: 1100px !important;
  margin: 0 auto !important;
  padding: 0 1.5rem !important;
}

.section-header-small {
  text-align: center !important;
  margin-bottom: 3rem !important;
}

.section-header-small .section-overline {
  display: block !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.15em !important;
  color: #00e6a8 !important;
  margin-bottom: 0.75rem !important;
}

.section-header-small h2 {
  font-size: 2rem !important;
  color: #ffffff !important;
  margin: 0 !important;
  font-weight: 600 !important;
}

.ki-kunden-section .kunden-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 1rem 2.5rem !important;
  align-items: center !important;
  justify-items: center !important;
}

.ki-kunden-section .kunden-logo {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: transform 0.3s ease, filter 0.3s ease !important;
  opacity: 0.7 !important;
}

.ki-kunden-section .kunden-logo:hover {
  transform: scale(1.08) !important;
  opacity: 1 !important;
}

.ki-kunden-section .kunden-logo img {
  max-width: 140px !important;
  max-height: 120px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

/* FIX 4: MOBILE LOGOS - GRÖßER */
@media (max-width: 900px) {
  .ki-kunden-section .kunden-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2rem 1.5rem !important;
    padding: 0 1rem !important;
  }
  
  .ki-kunden-section .kunden-logo {
    padding: 0.5rem !important;
  }
  
  .ki-kunden-section .kunden-logo img {
    max-width: 130px !important;
    max-height: 65px !important;
    width: auto !important;
    height: auto !important;
  }
}

@media (max-width: 600px) {
  .ki-kunden-section .kunden-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.75rem 1.25rem !important;
  }
  
  .ki-kunden-section .kunden-logo img {
    max-width: 120px !important;
    max-height: 60px !important;
  }
}

@media (max-width: 400px) {
  .ki-kunden-section .kunden-grid {
    gap: 1.5rem 1rem !important;
  }
  
  .ki-kunden-section .kunden-logo img {
    max-width: 110px !important;
    max-height: 55px !important;
  }
}

/* ---------- SECTION HEADERS ---------- */
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3.5rem;
}

.section-overline {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #00e6a8;
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.2;
  color: #fff;
  margin-bottom: 1rem;
}

.section-header h2 .highlight {
  color: #00e6a8;
}

.section-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* ---------- LIGHT SECTIONS ---------- */
.ki-section-light {
  background: linear-gradient(180deg, #1e232b 0%, #232830 100%) !important;
}

/* ---------- WHY KI SECTION ---------- */
.ki-why-section {
  padding: 5rem 0;
}

.ki-why-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.ki-challenge-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.challenge-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.challenge-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.challenge-card.solution {
  background: linear-gradient(135deg, rgba(0, 230, 168, 0.1) 0%, rgba(0, 230, 168, 0.03) 100%);
  border-color: rgba(0, 230, 168, 0.3);
}

.challenge-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.challenge-icon.warning {
  background: rgba(255, 180, 50, 0.15);
  color: #ffb432;
}

.challenge-icon.success {
  background: rgba(0, 230, 168, 0.15);
  color: #00e6a8;
}

.challenge-card h3 {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0.75rem;
}

.challenge-card p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ==========================================================================
   FIX 3: STATS SECTION - Counter Animation
   ========================================================================== */
.ki-stats,
.stats-section.ki-stats,
#ki-stats {
  background: #0d0d0d !important;
  padding: 4rem 0 !important;
}

.stats-container {
  display: flex !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 3rem 4rem !important;
  max-width: 1000px !important;
  margin: 0 auto !important;
  padding: 0 1.5rem !important;
}

.stat-item {
  text-align: center !important;
  flex: 1 1 200px !important;
  min-width: 180px !important;
}

.stat-icon {
  margin-bottom: 1rem !important;
  display: flex !important;
  justify-content: center !important;
}

.stat-number {
  font-size: 3rem !important;
  font-weight: 700 !important;
  color: #00e6a8 !important;
  line-height: 1.1 !important;
  margin-bottom: 0.5rem !important;
  font-variant-numeric: tabular-nums !important;
}

.stat-number .count {
  display: inline-block !important;
  min-width: 1.5ch !important;
}

.stat-label {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 0.95rem !important;
  line-height: 1.4 !important;
}

/* Mobile Stats */
@media (max-width: 600px) {
  .stats-container {
    gap: 2.5rem 2rem !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  
  .stat-item {
    min-width: 100% !important;
    max-width: 280px !important;
  }
  
  .stat-number {
    font-size: 2.5rem !important;
  }
  
  .stat-label {
    font-size: 0.9rem !important;
  }
}

/* ---------- USP SECTION ---------- */
.ki-usp-section {
  background: #181c22;
  padding: 6rem 0;
  overflow: hidden;
}

.ki-usp-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.usp-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 968px) {
  .usp-content-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.usp-text .section-overline {
  margin-bottom: 0.5rem;
}

.usp-text h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  color: #fff;
  margin-bottom: 1rem;
}

.usp-text h2 .highlight {
  color: #00e6a8;
}

.usp-text .lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.usp-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.usp-feature {
  display: flex;
  gap: 1rem;
}

.usp-feature-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
}

.usp-feature strong {
  display: block;
  color: #fff;
  margin-bottom: 0.25rem;
}

.usp-feature p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #00e6a8;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.3s ease;
  transition: transform 0.3s ease;
}

.cta-link:hover {
  gap: 0.85rem;
  color: #00e6a8;
  transform: translateY(-5px);
}

/* USP Visual / Animated Graphic */
.usp-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.usp-graphic {
  position: relative;
  width: 320px;
  height: 320px;
}

.usp-circle {
  position: absolute;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.usp-circle.outer {
  width: 100%;
  height: 100%;
  border: 2px solid rgba(0, 230, 168, 0.15);
  animation: rotate 30s linear infinite;
}

.usp-circle.middle {
  width: 70%;
  height: 70%;
  border: 2px solid rgba(0, 230, 168, 0.25);
  animation: rotate 20s linear infinite reverse;
}

.usp-circle.inner {
  width: 50%;
  height: 50%;
  background: linear-gradient(135deg, rgba(0, 230, 168, 0.2) 0%, rgba(0, 230, 168, 0.05) 100%);
  border: 2px solid rgba(0, 230, 168, 0.4);
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.usp-orbit-item {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: float 3s ease-in-out infinite;
  animation-delay: var(--delay);
}

.usp-orbit-item span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.usp-orbit-item:nth-child(2) { top: -10px; left: 50%; transform: translateX(-50%); }
.usp-orbit-item:nth-child(3) { right: -10px; top: 50%; transform: translateY(-50%); }
.usp-orbit-item:nth-child(4) { bottom: -10px; left: 50%; transform: translateX(-50%); }
.usp-orbit-item:nth-child(5) { left: -10px; top: 50%; transform: translateY(-50%); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ---------- PROCESS SECTION ---------- */
.ki-process-section {
  padding: 6rem 0;
}

.ki-process-section .container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.process-timeline {
  position: relative;
}

.process-step {
  display: grid;
  grid-template-columns: 60px 80px 1fr;
  gap: 1.5rem;
  align-items: start;
  position: relative;
  padding-bottom: 3rem;
}

.process-step:last-child {
  padding-bottom: 0;
}

.process-step-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(0, 230, 168, 0.3);
  line-height: 1;
}

.process-step-icon {
  width: 80px;
  height: 80px;
  background: rgba(0, 230, 168, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.process-connector {
  position: absolute;
  left: 99px;
  top: 90px;
  width: 2px;
  height: calc(100% - 90px);
  background: linear-gradient(180deg, rgba(0, 230, 168, 0.4) 0%, rgba(0, 230, 168, 0.1) 100%);
}

.process-step:last-child .process-connector {
  display: none;
}

.process-step-content h3 {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.process-step-content p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  font-size: 0.95rem;
}

.process-cta {
  text-align: center;
  margin-top: 3rem;
}

.cta-hint {
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .process-step {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .process-step-number {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 3rem;
    opacity: 0.1;
  }
  
  .process-step-icon {
    width: 60px;
    height: 60px;
  }
  
  .process-connector {
    display: none;
  }
}

/* ---------- USE CASES SECTION ---------- */
.ki-usecases-section {
  background: #181c22;
  padding: 6rem 0;
}

.ki-usecases-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.usecases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.usecase-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.usecase-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 230, 168, 0.3);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.usecase-card.highlight-card {
  background: linear-gradient(135deg, rgba(0, 230, 168, 0.15) 0%, rgba(0, 230, 168, 0.05) 100%);
  border-color: rgba(0, 230, 168, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.usecase-icon {
  margin-bottom: 1.25rem;
}

.usecase-card h3 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0.75rem;
}

.usecase-card p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.usecase-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
}

.usecase-benefits li {
  position: relative;
  padding-left: 1.25rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}

.usecase-benefits li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  background: #00e6a8;
  border-radius: 50%;
}

.usecase-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #00e6a8;
  font-weight: 600;
  text-decoration: none;
  margin-top: 1rem;
  transition: gap 0.3s ease;
}

.usecase-cta:hover {
  gap: 0.85rem;
}

/* ---------- MITTELSTAND SECTION ---------- */
.ki-mittelstand-section {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.ki-mittelstand-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 230, 168, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.ki-mittelstand-section .container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.mittelstand-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 230, 168, 0.1);
  border: 1px solid rgba(0, 230, 168, 0.25);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #00e6a8;
  margin-bottom: 1.5rem;
}

.mittelstand-content h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  color: #fff;
  margin-bottom: 2.5rem;
}

.mittelstand-content h2 .highlight {
  color: #00e6a8;
}

.mittelstand-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mittelstand-point {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.mittelstand-point:hover {
  border-color: rgba(0, 230, 168, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.point-icon {
  flex-shrink: 0;
}

.mittelstand-point h4 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 0.4rem;
}

.mittelstand-point p {
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  font-size: 0.9rem;
  margin: 0;
}

/* ==========================================================================
   TEAM SECTION
   ========================================================================== */

section.ki-team-section {
  background: #181c22 !important;
  padding: 6rem 0 !important;
}

section.ki-team-section .container {
  max-width: 1000px !important;
  margin: 0 auto !important;
  padding: 0 1.5rem !important;
}

section.ki-team-section .team-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 2rem !important;
  margin-bottom: 2.5rem !important;
}

@media (max-width: 768px) {
  section.ki-team-section .team-grid {
    grid-template-columns: 1fr !important;
  }
}

section.ki-team-section .team-card {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  transition: all 0.4s ease !important;
}

section.ki-team-section .team-card:hover {
  transform: translateY(-8px) !important;
  border-color: rgba(0, 230, 168, 0.3) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4) !important;
}

section.ki-team-section .team-img-wrapper {
  position: relative !important;
  display: flex !important;
  justify-content: center !important;
  padding: 2rem 2rem 0 !important;
}

section.ki-team-section .team-img {
  width: 150px !important;
  height: 150px !important;
  border-radius: 50% !important;
  background-size: cover !important;
  background-position: center top !important;
  border: 3px solid rgba(0, 230, 168, 0.3) !important;
  transition: border-color 0.3s ease !important;
}

section.ki-team-section .team-card:hover .team-img {
  border-color: #00e6a8 !important;
}

section.ki-team-section .team-img-overlay {
  display: none !important;
}

section.ki-team-section .team-info {
  padding: 1.5rem 2rem 2rem !important;
  text-align: center !important;
}

section.ki-team-section .team-info h3,
section.ki-team-section .team-info .team-name,
section.ki-team-section .team-info h3.team-name {
  font-size: 1.4rem !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  margin: 0 0 0.25rem 0 !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  line-height: 1.3 !important;
}

section.ki-team-section .team-info .team-role,
section.ki-team-section .team-info span.team-role {
  display: block !important;
  color: #00e6a8 !important;
  font-weight: 500 !important;
  font-size: 0.95rem !important;
  margin: 0 0 1rem 0 !important;
  visibility: visible !important;
  opacity: 1 !important;
}

section.ki-team-section .team-info p,
section.ki-team-section .team-info .team-bio,
section.ki-team-section .team-info p.team-bio {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 0.9rem !important;
  line-height: 1.6 !important;
  margin: 0 0 1rem 0 !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

section.ki-team-section .team-skills {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 0.5rem !important;
}

section.ki-team-section .team-skills span {
  background: rgba(0, 230, 168, 0.1) !important;
  border: 1px solid rgba(0, 230, 168, 0.25) !important;
  color: #00e6a8 !important;
  font-size: 0.75rem !important;
  padding: 0.3rem 0.75rem !important;
  border-radius: 50px !important;
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

section.ki-team-section .team-cta {
  text-align: center !important;
  margin-top: 1rem !important;
}

@media (max-width: 768px) {
  section.ki-team-section .team-info {
    padding: 1.25rem 1.5rem 1.5rem !important;
  }
  
  section.ki-team-section .team-img {
    width: 120px !important;
    height: 120px !important;
  }
}

/* ==========================================================================
   FIX 1: FAQ SECTION - iOS/SAFARI FIX
   Komplett überarbeitete Touch-Events für iOS
   ========================================================================== */
.ki-faq-section {
  padding: 6rem 0 !important;
  background: linear-gradient(180deg, #1e232b 0%, #232830 100%) !important;
}

.ki-faq-section .container {
  max-width: 800px !important;
  margin: 0 auto !important;
  padding: 0 1.5rem !important;
}

.faq-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 1rem !important;
}

/* FAQ Item Base */
.faq-item {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  transition: border-color 0.3s ease !important;
}

.faq-item:hover,
.faq-item:focus-within {
  border-color: rgba(255, 255, 255, 0.15) !important;
}

.faq-item.active {
  border-color: rgba(0, 230, 168, 0.3) !important;
}

/* FAQ Question Button - iOS Touch Fix */
.faq-question {
  width: 100% !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 1rem !important;
  padding: 1.25rem 1.5rem !important;
  background: transparent !important;
  border: none !important;
  cursor: pointer !important;
  text-align: left !important;
  font-family: inherit !important;
  outline: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  /* iOS Touch Fixes */
  -webkit-tap-highlight-color: transparent !important;
  -webkit-touch-callout: none !important;
  touch-action: manipulation !important;
  user-select: none !important;
  -webkit-user-select: none !important;
}

.faq-question:focus,
.faq-question:active {
  outline: none !important;
  background: rgba(255, 255, 255, 0.02) !important;
}

/* FAQ Question Text */
.faq-question span {
  font-size: 1rem !important;
  font-weight: 500 !important;
  color: #fff !important;
  flex: 1 !important;
  word-break: normal !important;
}

/* FAQ Question Icon */
.faq-question svg {
  flex-shrink: 0 !important;
  width: 24px !important;
  height: 24px !important;
  color: #00e6a8 !important;
  transition: transform 0.3s ease !important;
  pointer-events: none !important;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg) !important;
}

/* FAQ Answer - Animation */
.faq-answer {
  max-height: 0 !important;
  overflow: hidden !important;
  transition: max-height 0.4s ease-out !important;
  will-change: max-height !important;
}

.faq-item.active .faq-answer {
  max-height: 500px !important;
}

.faq-answer p {
  padding: 0 1.5rem 1.5rem !important;
  color: rgba(255, 255, 255, 0.7) !important;
  line-height: 1.7 !important;
  font-size: 0.95rem !important;
  margin: 0 !important;
}

/* Mobile FAQ Adjustments */
@media (max-width: 600px) {
  .faq-question {
    padding: 1.1rem 1.25rem !important;
  }
  
  .faq-question span {
    font-size: 0.95rem !important;
  }
  
  .faq-answer p {
    padding: 0 1.25rem 1.25rem !important;
    font-size: 0.9rem !important;
  }
}

/* ==========================================================================
   SEO TEXT SECTION
   ========================================================================== */
.ki-seo-section {
  background: #141820 !important;
  padding: 5rem 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.ki-seo-section .container {
  max-width: 900px !important;
  margin: 0 auto !important;
  padding: 0 1.5rem !important;
}

.ki-seo-section h2 {
  font-size: 1.8rem !important;
  color: #ffffff !important;
  margin-bottom: 1.5rem !important;
  font-weight: 600 !important;
}

.ki-seo-section h2 .highlight {
  color: #00e6a8 !important;
}

.ki-seo-section h3 {
  font-size: 1.3rem !important;
  color: #ffffff !important;
  margin: 2rem 0 1rem !important;
  font-weight: 600 !important;
}

.ki-seo-section p {
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 1rem !important;
  line-height: 1.8 !important;
  margin-bottom: 1.25rem !important;
}

.ki-seo-section ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 1.5rem 0 !important;
}

.ki-seo-section ul li {
  position: relative !important;
  padding-left: 1.5rem !important;
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 1rem !important;
  line-height: 1.7 !important;
  margin-bottom: 0.75rem !important;
}

.ki-seo-section ul li::before {
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  top: 0.6em !important;
  width: 6px !important;
  height: 6px !important;
  background: #00e6a8 !important;
  border-radius: 50% !important;
}

/* ---------- FINAL CTA SECTION ---------- */
.ki-final-cta {
  background: linear-gradient(135deg, #0d0d0d 0%, #141820 50%, #0d0d0d 100%);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.ki-final-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 230, 168, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.ki-final-cta .container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

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

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 230, 168, 0.15);
  border: 1px solid rgba(0, 230, 168, 0.3);
  padding: 0.6rem 1.25rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #00e6a8;
  margin-bottom: 1.5rem;
}

.cta-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #fff;
  margin-bottom: 1rem;
}

.cta-content h2 .highlight {
  color: #00e6a8;
}

.cta-content > p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.cta-trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* ==========================================================================
   FIX 2: MOBILE ÜBERSCHRIFTEN - Kleinere Schrift statt Word-Break
   ========================================================================== */
@media (max-width: 480px) {
  .section-header h2,
  .ki-faq-section .section-header h2 {
    font-size: 1.5rem !important;
    line-height: 1.3 !important;
  }
  
  .section-header-small h2 {
    font-size: 1.6rem !important;
  }
  
  .cta-content h2 {
    font-size: 1.4rem !important;
  }
  
  .mittelstand-content h2,
  .usp-text h2 {
    font-size: 1.4rem !important;
  }
}

/* ---------- MOBILE OPTIMIZATIONS ---------- */
@media (max-width: 768px) {
  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-btn {
    justify-content: center;
    width: 100%;
    max-width: 300px;
  }
  
  .trust-badges-grid {
    gap: 1rem 1.5rem;
  }
  
  .trust-badge-item {
    font-size: 0.85rem;
  }
  
  .trust-badge-item svg {
    width: 24px;
    height: 24px;
  }
  
  .usp-graphic {
    width: 260px;
    height: 260px;
  }
  
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-actions .hero-btn {
    width: 100%;
    max-width: 300px;
  }
  
  .cta-trust {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .mittelstand-point {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

/* Counter Animation */
.count {
  display: inline-block;
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* ==========================================================================
   FIX: ÜBERSCHRIFTEN WORD-BREAK
   ========================================================================== */

h1 .highlight,
h2 .highlight,
h3 .highlight {
  white-space: nowrap !important;
}

h1, h2, h3 {
  word-break: keep-all !important;
  hyphens: none !important;
  -webkit-hyphens: none !important;
}

@media (max-width: 480px) {
  .ki-seo-section h2 { font-size: 1.4rem !important; }
  .ki-seo-section h3 { font-size: 1.15rem !important; }
}