/* Apply Manrope to the entire project */
body, html {
  font-family: 'Manrope', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

/* Specific Nav Adjustments for Manrope */
.nav-links a {
  font-family: 'Manrope', sans-serif;
  font-weight: 600; /* Manrope looks best at 600 for nav links */
  font-size: 15px;
  letter-spacing: -0.01em; /* Manrope looks more premium with slight tight tracking */
  color: #1e293b;
  text-decoration: none;
  position: relative;
  padding: 8px 0;
  transition: color 0.3s ease;
}

.nav-button {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  background-color: #2d4073;
  color: #ffffff !important;
  padding: 10px 28px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
}

/* Mobile Link Adjustments */
.mobile-link {
  font-family: 'Manrope', sans-serif;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1e293b;
  text-decoration: none;
}

/* --- Navigation Reset & Core --- */
.custom-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #eef2f6;
  z-index: 2000;
  padding: 15px 0;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}

.nav-logo img {
  height: 60px;
  width: auto;
}

/* Desktop Styles */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links {
  display: flex;
  gap: 25px;
}

.nav-links a {
  color: #1e293b;
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s ease;
}

.nav-button {
  background-color: #2d4073;
  color: #ffffff !important;
  padding: 10px 28px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
}

/* Mobile Toggle (Burger) */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2100;
  flex-direction: column;
  gap: 7px;
}

.mobile-toggle span {
  display: block;
  width: 30px;
  height: 2px;
  background: #1e293b;
  transition: 0.4s cubic-bezier(0.075, 0.82, 0.165, 1);
}

/* --- Enhanced Desktop Hover Animation --- */
.nav-links a {
  color: #1e293b;
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
  position: relative; /* Required for the underline positioning */
  padding: 8px 0;
  transition: color 0.3s ease;
}

/* The Underline */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #38bdf8; /* The premium sky blue color */
  transition: width 0.3s cubic-bezier(0.65, 0.05, 0.36, 1);
}

/* Hover States */
.nav-links a:hover {
  color: #38bdf8;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Optional: Slight lift on the Contact Button to make it feel interactive */
.nav-button:hover {
  background-color: #1e293b;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(45, 64, 115, 0.3);
}

/* Mobile Overlay Styles */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  right: -100%; /* Start hidden off-screen to the right */
  width: 100%;
  height: 100vh;
  background: #ffffff;
  z-index: 1900;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-menu-overlay.active {
  right: 0; /* Slide in */
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.mobile-link {
  font-size: 28px;
  font-weight: 800;
  color: #1e293b;
  text-decoration: none;
}

.mobile-nav-btn {
  background: #2d4073;
  color: white !important;
  padding: 15px 50px;
  border-radius: 12px;
}

/* Burger Animation to 'X' */
.mobile-toggle.active .line-1 { transform: translateY(9px) rotate(45deg); }
.mobile-toggle.active .line-2 { opacity: 0; }
.mobile-toggle.active .line-3 { transform: translateY(-9px) rotate(-45deg); }

@media (max-width: 1024px) {
  .nav-menu { display: none; }
  .mobile-toggle { display: flex; }
  .nav-container { padding: 0 20px; }
}

/* --- Hero Section --- */
.hero {
  margin-top: 50px; /* Clears sticky nav */
  min-height: calc(95vh - 80px);
  background: radial-gradient(circle at 20% 50%, #f0f9ff 0%, #e0f2fe 100%);
  display: flex;
  align-items: center;
  padding: 40px 0;
  overflow: hidden;
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Typography & Content */
.hero-badge {
  display: inline-block;
  background: #bae6fd;
  padding: 8px 20px;
  border-radius: 100px;
  color: #0369a1;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero-content h1 {
  color: #1e293b;
  font-size: 56px;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero-content p {
  color: #475569;
  font-size: 19px;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 540px;
}

/* Actions - Desktop */
.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 60px;
}

.btn-primary {
  background: #2d4073;
  color: white;
  padding: 16px 36px;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #1e293b;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(45, 64, 115, 0.2);
}

.btn-secondary {
  border: 2px solid #cbd5e1;
  color: #1e293b;
  padding: 16px 36px;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: white;
  border-color: #94a3b8;
}

/* Trust Section */
.hero-trust {
  display: flex;
  gap: 40px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #1e293b;
}

.trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #0ea5e9;
}

.trust-icon svg {
  width: 100%;
  height: 100%;
}

.trust-text strong { display: block; font-size: 18px; font-weight: 800; }
.trust-text span { color: #64748b; font-size: 14px; }

/* Karla Card */
.hero-image-wrapper {
  max-width: 420px;
  width: 100%;
  justify-self: center;
}

.image-card {
  background: white;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 32px;
  padding: 16px;
  position: relative;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.08);
}

.image-card img {
  width: 100%;
  border-radius: 20px;
  display: block;
}

.image-caption {
  text-align: center;
  padding: 16px 0 8px;
  color: #1e293b;
}

.image-caption h3 { font-size: 22px; font-weight: 800; margin-bottom: 2px; }
.image-caption p { font-size: 14px; color: #64748b; font-weight: 500; }

/* --- Responsive Adjustments --- */

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
    padding-top: 20px;
  }
  .hero-content p { margin: 0 auto 32px auto; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
}

/* Specific Fix for Mobile Buttons */
@media (max-width: 640px) {
  .hero {
    margin-top: 0;
    padding: 120px 0 60px 0; /* Ensures visibility below mobile nav */
  }

  .hero-container {
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Centering the Badge and Text */
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .hero-content h1 {
    font-size: 36px;
    max-width: 100%;
  }

  /* BUTTON FIX: Full width centering */
  .hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers buttons horizontally */
    width: 100%;
    max-width: 100%; /* Allow buttons to use available container space */
    gap: 12px;
    margin-bottom: 48px;
  }

  .btn-primary, .btn-secondary {
    width: 100%; /* Forces buttons to be identical width */
    max-width: 320px; /* Limits size so they don't look huge on large phones */
    box-sizing: border-box; /* Ensures padding doesn't break the 100% width */
    padding: 16px;
    justify-content: center;
    text-align: center;
  }

  /* Centering Trust Section */
  .hero-trust {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
  }

  .trust-item {
    width: auto;
    min-width: 140px;
    justify-content: flex-start; /* Keeps icon next to text but centered as a group */
  }
}

/* ==========================================================================
   ÜBER UNS - COMPLETE HARMONIZED STYLES
   ========================================================================== */

   .about {
    padding: 100px 20px;
    background-color: #ffffff; /* Contrast against light-grey sections */
    font-family: 'Inter', sans-serif; /* Matching Karla section font */
    overflow: hidden;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    gap: 80px;
    align-items: center;
    width: 100%;
}

/* --- Left Side: Content --- */

.about-badge {
    background: #e0f2fe; /* Matching reference badge background */
    color: #0369a1;    /* Matching reference badge text */
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

.about-content h2 {
    font-size: 48px; /* Matches .karla-header h2 */
    color: #1e293b;
    margin: 20px 0;
    font-weight: 800;
    line-height: 1.2;
}

.about-content p {
    color: #64748b; /* Matches .karla-header p */
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Feature List */
.about-features {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 16px;
    color: #475569;
    font-weight: 500;
    font-size: 16px;
}

.check-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: #3b82f6; /* Matching reference checkmark blue */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Right Side: Grid (The Fix) --- */

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
    min-height: 400px; /* Ensures container exists for GSAP */
}

.feature-card {
    background: #f8fafc; /* Matching contact-method-card */
    padding: 35px 25px;
    border-radius: 24px; /* Matches karla-card radius */
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    
    /* GSAP Initial State (Controlled by JS, but set here for safety) */
    opacity: 0;
    transform: translateY(30px);
    
    /* Hover logic matching Service Cards */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                box-shadow 0.3s ease, 
                border-color 0.3s ease, 
                background 0.3s ease !important;
}

.feature-card:hover {
    background: white;
    transform: translateY(-12px) scale(1.02) !important;
    box-shadow: 0 20px 40px rgba(45, 64, 115, 0.1);
    border-color: #e2e8f0;
}

.card-icon {
    width: 54px;
    height: 54px;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05); /* Matching contact-icon-box */
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-icon svg {
    width: 26px;
    height: 26px;
    stroke: #2d4073; /* Brand Blue */
}

.feature-card h3 {
    color: #1e293b;
    font-size: 19px;
    margin-bottom: 12px;
    font-weight: 700;
}

.feature-card p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* --- Responsive Layout --- */

@media (max-width: 1024px) {
  .about {
      padding: 80px 20px;
  }
  
  .about-container {
      grid-template-columns: 1fr;
      text-align: center;
      gap: 60px;
  }

  .about-content {
      display: flex;
      flex-direction: column;
      align-items: center;
  }

  .about-features {
      display: inline-block;
      text-align: left;
      margin: 0 auto;
  }

  .feature-card {
      align-items: center;
      text-align: center;
  }

  .card-icon {
      margin: 0 auto 20px;
  }
}

@media (max-width: 640px) {
  .about-grid {
      grid-template-columns: 1fr;
      gap: 25px;
  }
  
  .about-content h2 {
      font-size: 32px;
  }

  .feature-card {
      padding: 30px 20px;
  }
}

/* ==========================================================================
   KARLA SECTION - FULL STYLES
   ========================================================================== */

   .karla-section {
    padding: 100px 20px;
    background-color: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 80px;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
  }
  
  /* --- 1. Header Styling --- */
  .karla-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .about-badge {
    background: #e0f2fe;
    color: #0369a1;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 10px;
  }
  
  .karla-header h2 {
    font-size: 48px;
    color: #1e293b;
    margin: 20px 0;
    font-weight: 800;
    line-height: 1.2;
  }
  
  .karla-header p {
    color: #64748b;
    font-size: 18px;
    line-height: 1.6;
  }
  
  /* --- 2. Karla About Card --- */
  .karla-about-container {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
  }
  
  .karla-card {
    background: white;
    border-radius: 24px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    align-items: center;
  }
  
  .karla-image-side {
    background: #2d4263; 
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
  }
  
  .karla-image-side img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
  .karla-text-side {
    padding: 60px;
  }
  
  .karla-text-side h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #1e293b;
    font-weight: 700;
  }
  
  .karla-text-side p {
    font-size: 16px;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 25px;
  }
  
  .karla-perks {
    list-style: none;
    padding: 0;
  }
  
  .karla-perks li {
    font-size: 15px;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    color: #475569;
  }
  
  .karla-perks li::before {
    content: "✓";
    color: #3b82f6;
    font-weight: bold;
    position: absolute;
    left: 0;
  }
  
  /* --- 3. Service Grid (#2d4073) --- */
  .karla-services {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
  }
  
  .karla-services h3 {
    margin-bottom: 50px;
    font-size: 36px;
    color: #1e293b;
    font-weight: 800;
  }
  
  .karla-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  
  .service-card-dark {
    background: #2d4073; 
    padding: 35px 25px;
    border-radius: 20px;
    color: white;
    text-align: left;
    /* transition with !important to ensure GSAP clearProps doesn't flicker */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease !important;
    display: flex;
    flex-direction: column;
    min-height: 250px;
  }
  
  .service-card-dark:hover {
    transform: translateY(-12px) scale(1.02) !important;
    box-shadow: 0 20px 40px rgba(45, 64, 115, 0.3);
  }
  
  .service-icon-box {
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #ffffff; 
  }
  
  .service-icon-box svg {
    width: 28px;
    height: 28px;
  }
  
  .service-card-dark h4 {
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
  }
  
  .service-card-dark p {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
  }
  
  /* --- 4. Final Contact Card (2 Cards) --- */
  .contact-inner-card {
    background: white;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 30px;
    padding: 80px 60px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.04);
  }
  
  .contact-inner-card h3 {
    font-size: 32px;
    margin-bottom: 50px;
    color: #1e293b;
    font-weight: 800;
  }
  
  .contact-grid-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
  }
  
  .contact-method-card {
    padding: 40px;
    background: #f8fafc;
    border-radius: 24px;
    transition: all 0.3s ease !important;
    border: 1px solid transparent;
    cursor: default;
  }
  
  .contact-method-card:hover {
    background: white !important;
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    border-color: #e2e8f0;
  }
  
  .contact-icon-box {
    width: 64px;
    height: 64px;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    color: #2d4073;
  }
  
  .contact-icon-box svg {
    width: 32px;
    height: 32px;
  }
  
  .contact-method-card h4 {
    font-size: 18px;
    color: #1e293b;
    margin-bottom: 10px;
    font-weight: 700;
  }
  
  .contact-method-card p {
    color: #64748b;
    font-size: 14px;
    margin: 0;
  }
  
  .final-help-text {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-top: 20px;
  }
  
  /* ==========================================================================
     RESPONSIVE BREAKPOINTS
     ========================================================================== */
  
  /* --- Tablet (max-width: 1024px) --- */
  @media (max-width: 1024px) {
    .karla-section { gap: 60px; }
    
    .karla-services-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    
    .karla-card {
      grid-template-columns: 1fr;
    }
    
    .karla-image-side {
      height: 350px;
    }
    
    .karla-header h2 { font-size: 40px; }
  }
  
  /* --- Mobile (max-width: 768px) --- */
  @media (max-width: 768px) {
    .karla-section { padding: 60px 15px; gap: 50px; }
  
    .karla-header h2 { font-size: 32px; }
    
    .karla-text-side { padding: 40px 25px; }
  
    .karla-services-grid {
      grid-template-columns: 1fr;
    }
  
    .contact-grid-two {
      grid-template-columns: 1fr;
    }
  
    .contact-inner-card {
      padding: 50px 20px;
      border-radius: 20px;
    }
  
    .service-card-dark {
      min-height: auto;
    }
  
    .karla-image-side {
      height: 280px;
    }
  }

  /* --- Frag doch Karla Button Styling --- */
.karla-btn-final {
  margin: 30px auto 0;
  padding: 16px 40px;
  background-color: #2d4073; /* Using your signature dark blue */
  color: white;
  border: none;
  border-radius: 50px; /* Rounded pill shape for a friendly look */
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
  box-shadow: 0 4px 15px rgba(45, 64, 115, 0.2);
}

.karla-btn-final svg {
  width: 22px;
  height: 22px;
  transition: transform 0.3s ease;
}

/* --- The "Nice Hover" Animation --- */
.karla-btn-final:hover {
  background-color: #364e8a; /* Slightly lighter shade */
  transform: translateY(-5px) scale(1.03) !important;
  box-shadow: 0 12px 25px rgba(45, 64, 115, 0.3);
}

.karla-btn-final:hover svg {
  transform: translateX(6px); /* Arrow moves to the right */
}

/* Active State (When Clicked) */
.karla-btn-final:active {
  transform: translateY(-2px) scale(0.98) !important;
}

/* Responsive adjustment */
@media (max-width: 768px) {
  .karla-btn-final {
      width: 100%;
      max-width: 300px;
  }
}

/* ==========================================================================
   VORTEILE SECTION - FULL STYLES
   ========================================================================== */

   .vorteile-section {
    padding: 100px 20px;
    background-color: #ffffff; /* Clean, light professional background */
    font-family: 'Inter', sans-serif;
    overflow: hidden;
}

/* --- 1. Header Styling --- */
.vorteile-header {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 70px;
}

/* Styled Badge as seen in the reference */
.vorteile-badge {
    background: #e2e8f0;
    color: #475569;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 24px;
    letter-spacing: 0.3px;
}

.vorteile-header h2 {
    font-size: 44px;
    color: #1e293b; /* Darker slate for premium contrast */
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

/* Paragraph styling from the screenshot */
.vorteile-header p {
    color: #334155;
    font-size: 19px;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* --- 2. Grid System --- */
.vorteile-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    /* 3 columns desktop, 2 tablet, 1 mobile */
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px;
}

/* --- 3. Card Design --- */
.vorteile-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    /* Transition for the card elevation */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                box-shadow 0.4s ease, 
                border-color 0.4s ease !important;
}

/* The Brand-Blue Top Line revealed on hover */
.vorteile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #2d4073; /* Your primary brand color */
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: center;
}

.vorteile-card:hover {
    transform: translateY(-12px) !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
    border-color: #2d4073;
}

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

/* --- 4. Icon & Content --- */
.vorteile-icon-wrapper {
    width: 56px;
    height: 56px;
    background: #f1f5f9;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2d4073;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

/* Dynamic icon interaction */
.vorteile-card:hover .vorteile-icon-wrapper {
    background: #2d4073;
    color: #ffffff;
    transform: rotate(-5deg) scale(1.1);
}

.vorteile-icon-wrapper svg {
    width: 28px;
    height: 28px;
}

.vorteile-content h4 {
    font-size: 21px;
    color: #1e293b;
    margin-bottom: 12px;
    font-weight: 700;
    line-height: 1.3;
}

.vorteile-content p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* --- 5. Bullet List --- */
.vorteile-list {
    list-style: none;
    padding: 0;
    margin-top: auto; /* Ensures lists align at bottom if text varies */
}

.vorteile-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #475569;
    font-weight: 500;
    line-height: 1.4;
}

/* Arrow bullet styling */
.vorteile-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #2d4073;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.vorteile-card:hover .vorteile-list li::before {
    transform: translateX(3px);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

/* Tablet Optimization */
@media (max-width: 1024px) {
    .vorteile-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .vorteile-header h2 { font-size: 36px; }
    .vorteile-header p { font-size: 17px; }
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .vorteile-section {
        padding: 60px 15px;
    }
    .vorteile-grid {
        grid-template-columns: 1fr;
    }
    .vorteile-header h2 {
        font-size: 30px;
    }
    .vorteile-card {
        padding: 30px;
    }
    .vorteile-header {
        margin-bottom: 40px;
    }
}

/* Ensure icons are visible by default */
.vorteile-icon-wrapper {
  opacity: 1 !important;
  visibility: visible !important;
  display: flex !important;
}

.vorteile-icon-wrapper svg {
  display: block !important;
  width: 28px;
  height: 28px;
  /* Ensure the SVG has a color if not inheriting correctly */
  stroke: currentColor; 
}

/* Ensure the card container doesn't hide them during intro */
.gsap-vorteile-card {
  visibility: visible !important;
}

/* ==========================================================================
   HILFE SECTION - IMPROVED & STABLE VERSION
   ========================================================================== */

   .hilfe-section {
    padding: 100px 20px;
    background-color: #e9f6ff; /* Requested light blue background */
    font-family: 'Inter', sans-serif;
    overflow: hidden; /* Prevents unwanted horizontal scroll during animation */
}

/* --- 1. Header Styling --- */
.hilfe-header {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 70px;
}

.hilfe-badge {
    background: #d4ecff;
    color: #2d4073;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.hilfe-header h2 {
    font-size: 44px;
    color: #1e293b;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.hilfe-header p {
    color: #334155;
    font-size: 19px;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* --- 2. Grid System (Fixed for overlapping) --- */
.hilfe-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 cards on desktop */
    gap: 30px;
    align-items: stretch; /* Ensures all cards stay the same height */
    perspective: 1000px; /* Prepares cards for smooth entry */
}

/* --- 3. Card Design --- */
.hilfe-card {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    position: relative;
    will-change: transform, opacity; /* Fixes "buggy" flickering/overlapping */
    backface-visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

/* Dark Header of the Card */
.hilfe-card-top {
    background: linear-gradient(135deg, #2d4073 0%, #1e293b 100%);
    padding: 45px 35px;
    color: white;
}

.hilfe-icon-box {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.hilfe-icon-box svg {
    width: 28px;
    height: 28px;
    stroke: #ffffff;
}

.hilfe-card-top h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.hilfe-subtitle {
    font-size: 14px;
    opacity: 0.85;
    font-weight: 500;
}

/* Content Area */
.hilfe-card-bottom {
    padding: 35px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
}

.hilfe-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.hilfe-list li {
    font-size: 15px;
    color: #475569;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.hilfe-list li::before {
    content: "📞"; /* Phone icon for support vibe */
    font-size: 14px;
    margin-right: 15px;
}

.hilfe-list li:last-child {
    border-bottom: none;
}

/* Bottom Sentence */
.hilfe-footer-text {
    margin-top: auto;
    font-size: 15px;
    font-weight: 700;
    color: #2d4073;
    text-align: center;
    padding-top: 20px;
    border-top: 1px dashed #e2e8f0;
}

/* --- 4. Hover State --- */
.hilfe-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px -12px rgba(45, 64, 115, 0.15);
}

/* ==========================================================================
   UPDATED MOBILE ALIGNMENT FIX
   ========================================================================== */

   @media (max-width: 768px) {
    .hilfe-section {
        padding: 60px 15px; /* Slightly reduced padding for mobile breathing room */
    }

    .hilfe-grid {
        display: flex; /* Switching to flex on mobile for more reliable width control */
        flex-direction: column;
        align-items: center; /* Centers the cards in the section */
        gap: 30px;
        width: 100%;
        max-width: 100%;
    }

    .hilfe-card {
        /* This ensures the 3rd card cannot be smaller than the others */
        width: 100% !important; 
        max-width: 100% !important; 
        margin: 0 auto;
        box-sizing: border-box; /* Includes padding/border in the width calculation */
    }

    /* Standardizes the top and bottom padding for mobile view */
    .hilfe-card-top {
        padding: 35px 25px;
    }

    .hilfe-card-bottom {
        padding: 30px 25px;
    }

    /* Ensures titles don't wrap awkwardly on very narrow screens */
    .hilfe-card-top h4 {
        font-size: 20px;
    }
}

/* ==========================================================================
   HOME HELP (HAUSHALTSERVICE) - ACCORDION STYLE (Refined Icons)
   ========================================================================== */

   .home-help {
    padding: 120px 20px;
    background-color: #f8fafc; /* slate contrast */
    font-family: 'Inter', sans-serif;
    overflow: hidden;
}

.help-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* --- Left Side: Header Content --- */
.help-header-content {
    max-width: 500px;
}

.help-badge {
    background: #e0f2fe;
    color: #0369a1;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

.help-header-content h2 {
    font-size: 44px;
    color: #1e293b;
    margin: 20px 0;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.help-header-content p {
    color: #64748b;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.why-us-minimal h4 {
    font-size: 18px;
    color: #1e293b;
    margin-bottom: 15px;
    font-weight: 700;
}

.why-us-minimal span {
    display: block;
    margin-bottom: 10px;
    font-size: 15px;
    color: #475569;
    font-weight: 500;
}

/* --- Right Side: Accordion --- */
.help-accordion {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.accordion-item {
    background: white;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    border-color: #2d4073;
}

/* Accordion Header */
.accordion-header {
    width: 100%;
    padding: 24px 30px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s ease;
}

.accordion-header:hover {
    background-color: #f8fafc;
}

/* Updated Title Structure to handle the new Box */
.accordion-title {
    display: flex;
    align-items: center;
    gap: 18px; /* Slightly wider gap */
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
}

/* THE NEW ICON BOX STYLE (Matches Smarte Hilfe) */
.accordion-icon-box {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03); /* Subtle premium shadow */
    border: 1px solid #f1f5f9;
}

.accordion-icon {
    width: 24px;
    height: 24px;
    stroke: #2d4073; /* Brand Blue */
    stroke-linecap: round;
    stroke-linejoin: round;
}

.chevron-icon {
    width: 20px;
    height: 20px;
    color: #94a3b8;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Accordion Content */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 30px;
    transition: all 0.5s cubic-bezier(0, 1, 0, 1);
    opacity: 0;
}

.accordion-content p {
    color: #475569;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    margin-top: 0;
}

.help-list-benefits {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.help-list-benefits li {
    position: relative;
    padding-left: 28px;
    font-size: 15px;
    color: #1e293b;
    font-weight: 600;
}

.help-list-benefits li::before {
    content: "•";
    position: absolute;
    left: 5px;
    color: #3b82f6;
    font-size: 20px;
    line-height: 1;
}

/* --- Active State Logic --- */
.accordion-item.active {
    border-color: #2d4073;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.accordion-item.active .chevron-icon {
    transform: rotate(180deg);
    color: #2d4073;
}

.accordion-item.active .accordion-header {
    border-bottom: 1px solid #f1f5f9;
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
    padding: 30px;
    opacity: 1;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .help-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    .help-header-content { margin: 0 auto; }
    .help-header-content h2 { font-size: 36px; }
    .why-us-minimal { display: inline-block; text-align: left; }
}

@media (max-width: 600px) {
    .accordion-header { padding: 20px; }
    .accordion-title { font-size: 16px; gap: 12px; }
    .accordion-icon-box { width: 40px; height: 40px; border-radius: 8px; }
    .accordion-icon { width: 20px; height: 20px; }
    .accordion-item.active .accordion-content { padding: 20px; }
    .help-list-benefits { grid-template-columns: 1fr; }
}

/* ==========================================================================
   KONTAKT SECTION - FULLSCREEN & CENTERING OPTIMIZED
   ========================================================================== */

   .home-contact-fullscreen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #ffffff;
    padding: 80px 40px;
    box-sizing: border-box;
    /* Removed overflow: hidden to allow scrolling on mobile */
}

.contact-viewport-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr; 
    gap: 80px;
    align-items: center;
}

/* --- Left Column: Info & Cards --- */

.header-group { 
    margin-bottom: 30px; 
}

.contact-badge {
    background: #f1f5f9;
    color: #475569;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
    display: inline-block;
}

.contact-title {
    font-size: clamp(32px, 4vw, 42px);
    color: #1e293b;
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 12px 0;
}

.contact-lead {
    color: #64748b;
    font-size: 16px;
    margin: 0;
    line-height: 1.5;
}

.contact-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.mini-contact-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    padding: 18px 22px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.mini-contact-card:hover {
    border-color: #2d4073;
    transform: translateX(8px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.mini-icon {
    width: 42px;
    height: 42px;
    background: #f8fafc;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2d4073;
    flex-shrink: 0;
}

.mini-icon svg { 
    width: 20px; 
    height: 20px;
}

.card-content label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    color: #94a3b8;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.card-content p {
    margin: 0;
    font-weight: 700;
    color: #1e293b;
    font-size: 16px;
}

.service-mini-box {
    background: #2d4073;
    padding: 22px 28px;
    border-radius: 16px;
    color: white;
    box-shadow: 0 10px 25px rgba(45, 64, 115, 0.15);
}

.service-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 10px;
}

.notfall-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #93c5fd;
}

/* --- Right Column: Form --- */

.contact-form-compact {
    background: white;
    padding: 45px; 
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.07);
    border: 1px solid #f1f5f9;
    width: 100%;
    max-width: 520px;
    margin-left: auto;
    box-sizing: border-box; 
}

.form-h3 { 
    margin-bottom: 30px; 
    font-size: 26px; 
    color: #1e293b; 
    font-weight: 800;
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 18px;
}

.input-group { 
    margin-bottom: 18px; 
    width: 100%;
}

.input-group label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #334155;
}

.input-group input, 
.input-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid #edf2f7;
    border-radius: 12px;
    font-size: 15px;
    background: #fafbfc;
    color: #1e293b;
    font-family: inherit;
    box-sizing: border-box; 
    transition: all 0.2s ease;
}

.input-group input:focus, 
.input-group textarea:focus {
    outline: none;
    border-color: #2d4073;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(45, 64, 115, 0.05);
}

/* --- Submit Button & Footer --- */

.submit-btn-optimized {
    width: 100%;
    max-width: 280px; /* Limits width so it doesn't look bulky on Desktop */
    margin: 20px auto 0 auto; /* Centers button in the form */
    background: #2d4073;
    color: white;
    padding: 16px;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.submit-btn-optimized:hover { 
    background: #1e2b52; 
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(45, 64, 115, 0.2);
}

.send-svg { 
    width: 20px; 
    height: 20px;
}

.gdpr-text {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 20px;
    text-align: center;
    line-height: 1.4;
}

/* --- Animations & Responsive --- */

.pulse-dot {
    width: 10px;
    height: 10px;
    background: #60a5fa;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(96, 165, 250, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(96, 165, 250, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(96, 165, 250, 0); }
}

/* ==========================================================================
   MOBILE IMPROVEMENTS
   ========================================================================== */

@media (max-width: 992px) {
    .home-contact-fullscreen {
        height: auto;
        min-height: 100vh;
        padding: 60px 20px;
        display: block; /* Allows natural scrolling flow */
    }

    .contact-viewport-container {
        grid-template-columns: 1fr; /* Stacks side-by-side to vertical */
        gap: 50px;
        text-align: center;
    }

    .contact-form-compact {
        margin: 0 auto; /* Centers form block */
        padding: 30px 20px;
    }

    .header-group, .contact-badge {
        margin-left: auto;
        margin-right: auto;
    }

    .contact-cards-stack {
        align-items: center;
    }

    .mini-contact-card {
        width: 100%;
        max-width: 420px;
        text-align: left; /* Keep card text left-aligned for readability */
    }

    .service-mini-box {
        max-width: 420px;
        margin: 0 auto;
    }

    .submit-btn-optimized {
        max-width: 100%; /* Allows button to fill form width on mobile */
    }
}

@media (max-width: 480px) {
    .input-row {
        grid-template-columns: 1fr; /* Stacks Name and Phone on tiny screens */
        gap: 15px;
    }
    
    .contact-title {
        font-size: 28px;
    }
}

/* ==========================================================================
   FOOTER SECTION STYLES
   ========================================================================== */

   .main-footer {
    background-color: #1e293b; /* Deep slate/navy to match branding */
    color: #f8fafc;
    padding: 80px 20px 30px;
    font-family: 'Inter', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr; /* Brand gets more space */
    gap: 60px;
}

/* Brand Column */
.footer-brand h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-brand h3 span {
    color: #60a5fa; /* Accent blue */
}

.footer-brand p {
    color: #94a3b8;
    line-height: 1.6;
    max-width: 300px;
}

/* Links Columns */
.footer-col h4 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
}

/* Small underline for section titles */
.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background: #60a5fa;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 5px;
}

/* Bottom Bar (Copyright) */
.footer-bottom {
    max-width: 1200px;
    margin: 60px auto 0;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: #64748b;
    font-size: 14px;
}

/* Logo specific styling */
.footer-logo-link {
  display: inline-block;
  margin-bottom: 25px;
  transition: opacity 0.3s ease;
}

.footer-logo-link:hover {
  opacity: 0.9;
}

.footer-logo-img {
  height: 45px; /* Adjust height based on your logo's proportions */
  width: auto;
  display: block;
  /* If your logo has dark text, you might need a brightness filter for the dark footer */
  /* filter: brightness(0) invert(1); */ 
}

/* Ensure the brand text stays aligned */
.footer-brand p {
  color: #94a3b8;
  font-size: 15px;
  line-height: 1.6;
  max-width: 300px;
  margin-top: 0;
}

@media (max-width: 768px) {
  .footer-logo-img {
      margin: 0 auto; /* Centers logo on mobile */
  }
}

/* --- Responsive Footer --- */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-brand p {
        margin: 0 auto;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links a:hover {
        padding-left: 0;
    }
}