    * { margin: 0; padding: 0; box-sizing: border-box; }

    :root {
      --color-primary: #e63d36;
      --color-dark: #302c38;
      --color-dark-footer: #262734;
      --color-light: #f7efe7;
      --color-white: #ffffff;
      --color-gray: #f0ebe5;
      --color-gray-dark: #e0d9d0;
      --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      color: #333;
      background-color: var(--color-light);
      line-height: 1.6;
    }

    body.dark-mode { background-color: var(--color-dark); color: var(--color-light); }

    /* Header */
    header {
      background-color: var(--color-white);
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
      position: sticky;
      top: 0;
      z-index: 1000;
      transition: var(--transition);
    }
    body.dark-mode header { background-color: #3d3844; box-shadow: 0 2px 8px rgba(0,0,0,0.3); }

    .header-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0.9rem 1.2rem;
      max-width: 1200px;
      margin: 0 auto;
      gap: 1rem;
      overflow: visible;
    }

    .logo { 
      display: flex; 
      align-items: center; 
      gap: 0.8rem; 
      text-decoration: none; 
      cursor: pointer;
      flex-shrink: 0;
      min-width: 0;
    }
    .logo img { 
      width: 100px; 
      height: 100px; 
      object-fit: contain; 
      border-radius: 12px; 
      flex-shrink: 0; 
    }
    .logo h1 { font-size: 1.25rem; font-weight: 700; color: var(--color-dark); }
    .logo p { font-size: 0.75rem; color: var(--color-primary); font-weight: 600; }
    .slogan-text { color: var(--color-dark); }
    body.dark-mode .logo h1 { color: var(--color-light); }
    body.dark-mode .slogan-text { color: var(--color-light); }

    .nav-links { display: flex; gap: 2rem; align-items: center; }
    .nav-links a {
      text-decoration: none;
      color: var(--color-dark);
      font-weight: 500;
      position: relative;
      padding: 0.35rem 0;
      transition: var(--transition);
    }
    body.dark-mode .nav-links a { color: var(--color-light); }
    .nav-links a:hover { color: var(--color-primary); }
    .nav-links a::after {
      content: '';
      position: absolute;
      left: 0; bottom: 0;
      height: 2px; width: 0;
      background: var(--color-primary);
      transition: var(--transition);
    }
    .nav-links a:hover::after { width: 100%; }

    .theme-toggle {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      cursor: pointer;
      background: none;
      border: 1px solid var(--color-gray-dark);
      padding: 0.4rem 0.75rem;
      border-radius: 999px;
      font-size: 1rem;
      transition: var(--transition);
    }
    .theme-toggle:hover { border-color: var(--color-primary); }

    .toggle-slider {
      width: 42px; height: 22px; background: var(--color-gray);
      border-radius: 12px; position: relative; border: 1px solid var(--color-gray-dark);
      transition: var(--transition);
    }
    .toggle-slider::after {
      content: '';
      position: absolute;
      width: 18px; height: 18px;
      background: var(--color-white);
      border-radius: 50%;
      top: 1px; left: 1px;
      transition: var(--transition);
    }
    body.dark-mode .toggle-slider { background: var(--color-primary); border-color: var(--color-primary); }
    body.dark-mode .toggle-slider::after { left: 21px; }

    .mobile-menu-btn {
      display: none;
      background: none;
      border: 1px solid var(--color-gray-dark);
      border-radius: 10px;
      padding: 0.4rem 0.5rem;
      font-size: 1.2rem;
      cursor: pointer;
      transition: var(--transition);
    }
    .mobile-menu-btn:hover { border-color: var(--color-primary); color: var(--color-primary); }
    body.dark-mode .mobile-menu-btn { border-color: rgba(255,255,255,0.3); color: var(--color-light); }
    body.dark-mode .mobile-menu-btn:hover { border-color: var(--color-primary); }

    .mobile-menu {
      display: none;
      position: absolute;
      top: 100%; right: 1rem;
      background: var(--color-white);
      border: 1px solid rgba(0,0,0,0.08);
      box-shadow: 0 12px 32px rgba(0,0,0,0.15);
      border-radius: 12px;
      padding: 0.9rem 1rem;
      min-width: 220px;
      flex-direction: column;
      gap: 0.75rem;
      z-index: 998;
    }
    .mobile-menu a { color: var(--color-dark); text-decoration: none; font-weight: 600; }
    .mobile-menu a:hover { color: var(--color-primary); }
    body.dark-mode .mobile-menu { background: #3d3844; border-color: rgba(255,255,255,0.08); box-shadow: 0 12px 32px rgba(0,0,0,0.35); }
    body.dark-mode .mobile-menu a { color: var(--color-light); }

    .mobile-menu.open { display: flex; }

    /* Slider */
    .slider-container {
      width: 100%; height: 420px;
      overflow: hidden; position: relative;
      background: linear-gradient(135deg, var(--color-light) 0%, #f9f3ed 100%);
      transition: background 0.4s ease;
    }
    body.dark-mode .slider-container { background: linear-gradient(135deg, #3d3844 0%, #2b2933 100%); }

    /* Animated background shapes */
    .slide-shapes {
      position: absolute;
      inset: 0;
      overflow: hidden;
      opacity: 0.06;
      pointer-events: none;
    }
    
    body.dark-mode .slide-shapes {
      opacity: 0.04;
    }
    
    .shape {
      position: absolute;
      border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
      background: var(--color-primary);
      will-change: transform;
    }
    
    /* Slide 1 shapes */
    .slide-1-shape-1 {
      width: 300px;
      height: 300px;
      top: -50px;
      left: -80px;
      animation: float1 25s ease-in-out infinite;
    }
    
    .slide-1-shape-2 {
      width: 200px;
      height: 200px;
      bottom: -40px;
      right: 10%;
      animation: float2 20s ease-in-out infinite;
      animation-delay: 2s;
    }
    
    .slide-1-shape-3 {
      width: 150px;
      height: 150px;
      top: 40%;
      right: -30px;
      animation: float3 22s ease-in-out infinite;
      animation-delay: 4s;
    }
    
    /* Slide 2 shapes */
    .slide-2-shape-1 {
      width: 250px;
      height: 250px;
      top: 10%;
      right: -60px;
      animation: float2 23s ease-in-out infinite;
    }
    
    .slide-2-shape-2 {
      width: 180px;
      height: 180px;
      bottom: 15%;
      left: 5%;
      animation: float1 19s ease-in-out infinite;
      animation-delay: 3s;
    }
    
    /* Slide 3 shapes */
    .slide-3-shape-1 {
      width: 280px;
      height: 280px;
      top: -70px;
      left: 15%;
      animation: float3 24s ease-in-out infinite;
    }
    
    .slide-3-shape-2 {
      width: 220px;
      height: 220px;
      bottom: -50px;
      right: -50px;
      animation: float1 21s ease-in-out infinite;
      animation-delay: 2s;
    }
    
    .slide-3-shape-3 {
      width: 160px;
      height: 160px;
      top: 50%;
      left: -40px;
      animation: float2 18s ease-in-out infinite;
      animation-delay: 5s;
    }
    
    /* Slide 4 shapes */
    .slide-4-shape-1 {
      width: 240px;
      height: 240px;
      bottom: 10%;
      left: -50px;
      animation: float1 22s ease-in-out infinite;
    }
    
    .slide-4-shape-2 {
      width: 190px;
      height: 190px;
      top: 20%;
      right: 8%;
      animation: float3 20s ease-in-out infinite;
      animation-delay: 3s;
    }
    
    @keyframes float1 {
      0%, 100% { 
        transform: translate(0, 0) rotate(0deg);
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
      }
      25% { 
        transform: translate(30px, -25px) rotate(90deg);
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
      }
      50% { 
        transform: translate(-20px, 30px) rotate(180deg);
        border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
      }
      75% { 
        transform: translate(40px, 15px) rotate(270deg);
        border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
      }
    }
    
    @keyframes float2 {
      0%, 100% { 
        transform: translate(0, 0) rotate(0deg) scale(1);
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
      }
      33% { 
        transform: translate(-35px, 25px) rotate(120deg) scale(1.1);
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
      }
      66% { 
        transform: translate(25px, -30px) rotate(240deg) scale(0.95);
        border-radius: 70% 30% 50% 50% / 30% 70% 70% 30%;
      }
    }
    
    @keyframes float3 {
      0%, 100% { 
        transform: translate(0, 0) rotate(0deg);
        border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%;
      }
      30% { 
        transform: translate(20px, 30px) rotate(100deg);
        border-radius: 60% 40% 30% 70% / 40% 60% 40% 60%;
      }
      60% { 
        transform: translate(-30px, -20px) rotate(200deg);
        border-radius: 50% 50% 60% 40% / 30% 60% 40% 70%;
      }
      90% { 
        transform: translate(15px, -35px) rotate(320deg);
        border-radius: 70% 30% 40% 60% / 60% 40% 60% 40%;
      }
    }

    .slider-wrapper { display: flex; height: 100%; width: 100%; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); position: relative; z-index: 2; }
    .slider-slide { 
      min-width: 100%; height: 100%; 
      display: flex; align-items: center; justify-content: center; 
      padding: 3.5rem 1.5rem; text-align: center; 
      position: relative;
    }
    
    .slider-content { 
      max-width: 640px; 
      animation: slideInUp 0.6s cubic-bezier(0.4,0,0.2,1);
      position: relative;
      z-index: 3;
    }
    
    .slider-content h2 { 
      font-size: 1.9rem; 
      color: var(--color-dark); 
      margin-bottom: 0.9rem; 
      font-weight: 700; 
      line-height: 1.25;
    }
    
    .slider-content p { 
      font-size: 1rem; 
      color: #555; 
      line-height: 1.7;
    }
    
    body.dark-mode .slider-content h2 { 
      color: var(--color-light);
    }
    body.dark-mode .slider-content p { 
      color: #ddd;
    }

    @keyframes slideInUp {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .slider-controls { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); display: flex; gap: 0.75rem; z-index: 3; }
    .slider-dot {
      width: 11px; height: 11px; border-radius: 999px; border: 2px solid var(--color-primary);
      background: rgba(230,61,54,0.22); cursor: pointer; transition: var(--transition);
    }
    .slider-dot.active { background: var(--color-primary); transform: scale(1.1); }

    .slider-nav {
      position: absolute;
      top: 50%; transform: translateY(-50%);
      width: 46px; height: 46px; border-radius: 50%;
      background: rgba(255,255,255,0.9);
      border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
      color: var(--color-primary); font-size: 1.4rem; transition: var(--transition); z-index: 3;
    }
    .slider-nav:hover { background: var(--color-primary); color: var(--color-white); transform: translateY(-50%) scale(1.05); }
    .slider-prev { left: 1.5rem; }
    .slider-next { right: 1.5rem; }
    body.dark-mode .slider-nav { background: rgba(28,28,40,0.9); color: var(--color-light); }

    /* Main */
    main { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem 3rem; }

    .services-section { padding: 3.5rem 0; }
    .section-title { text-align: center; margin-bottom: 2.2rem; }
    .section-title h2 { font-size: 1.8rem; color: var(--color-dark); margin-bottom: 0.7rem; font-weight: 700; }
    body.dark-mode .section-title h2 { color: var(--color-light); }
    .section-title::after { content: ''; display: block; width: 60px; height: 4px; background: var(--color-primary); margin: 0.45rem auto 0; border-radius: 2px; }

    .services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.6rem; }
    .service-card {
      position: relative;
      background: var(--color-white);
      padding: 1.75rem 1.55rem 1.4rem;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.08);
      transition: var(--transition);
      border: 1px solid rgba(0,0,0,0.03);
      overflow: hidden; cursor: pointer;
    }
    body.dark-mode .service-card { background: #3a3744; box-shadow: 0 4px 14px rgba(0,0,0,0.4); border-color: rgba(255,255,255,0.04); }
    .service-card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; border: 1px solid transparent; transition: border-color 0.25s ease, transform 0.25s ease; }
    .service-card:hover { transform: translateY(-6px); box-shadow: 0 10px 26px rgba(230,61,54,0.2); }
    .service-card:hover::before { border-color: rgba(230,61,54,0.65); transform: scale(1.01); }
    .service-card h3 { font-size: 1.1rem; color: var(--color-dark); margin-bottom: 0.65rem; font-weight: 600; padding-right: 2.4rem; line-height: 1.35; }
    .service-card p { color: #666; font-size: 0.95rem; line-height: 1.55; }
    body.dark-mode .service-card h3 { color: var(--color-light); }
    body.dark-mode .service-card p { color: #ddd; }

    .service-icon {
      position: absolute; top: 0.85rem; right: 0.9rem;
      width: 28px; height: 28px; border-radius: 6px;
      display: flex; align-items: center; justify-content: center;
      font-size: 1.1rem; color: var(--color-primary);
      background: rgba(230,61,54,0.07);
    }
    body.dark-mode .service-icon { background: rgba(255,255,255,0.05); color: #ff8a80; }

    /* About */
    #about p { font-size: 1rem; line-height: 1.65; color: #666; }
    body.dark-mode #about p { color: #e0dfdf; }

    /* Footer */
    footer { background: var(--color-dark-footer); color: var(--color-light); padding: 2.5rem 1.5rem 1.6rem; margin-top: 3.2rem; font-size: 0.9rem; line-height: 1.4; }
    body.dark-mode footer { background: #1f2130; }
    .footer-container { max-width: 1200px; margin: 0 auto; }
    .footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.8rem; margin-bottom: 1.3rem; }
    .footer-section h3 { color: var(--color-primary); margin-bottom: 0.8rem; font-size: 0.95rem; font-weight: 600; }
    .footer-section p, .footer-section a { color: var(--color-light); font-size: 0.85rem; margin-bottom: 0.35rem; text-decoration: none; transition: var(--transition); display: block; }
    .footer-section a:hover { color: var(--color-primary); padding-left: 0.35rem; }
    .footer-bottom { border-top: 1px solid rgba(247,239,231,0.18); padding-top: 1rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.9rem; }
    .footer-legal { display: flex; gap: 1.3rem; flex-wrap: wrap; }
    .footer-legal a { color: var(--color-light); font-size: 0.8rem; }
    .footer-legal a:hover { color: var(--color-primary); }
    .footer-copyright { color: rgba(247,239,231,0.7); font-size: 0.8rem; }

    @keyframes fadeSlideIn {
      from { opacity: 0; transform: translateY(15px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* Responsive */
    @media (max-width: 1024px) {
      .header-container { padding: 0.85rem 1rem; }
      .nav-links { gap: 1.5rem; }
      .logo img { width: 90px; height: 90px; }
      .slider-container { height: 380px; }
      .slider-content h2 { font-size: 1.75rem; }
      .slider-content p { font-size: 0.98rem; }
      main { padding: 0 1.1rem 3rem; }
      .slide-icon { font-size: 100px; }
    }

    @media (max-width: 768px) {
      .header-container { padding: 0.8rem 0.9rem; overflow: visible; }
      .nav-links { display: none; }
      .theme-toggle { display: none; }
      .mobile-menu-btn { display: inline-flex; align-items: center; justify-content: center; }
      .mobile-menu { right: 0.9rem; }
      .logo img { width: 80px; height: 80px; }
      .mobile-menu .theme-toggle {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        width: 100%;
        padding: 0.5rem 0.75rem;
        gap: 0.6rem;
        font-size: 0.95rem;
        border: 1px solid rgba(255,255,255,0.15);
        background: transparent;
      }
      .mobile-menu .toggle-slider { width: 38px; height: 20px; }
      .mobile-menu .toggle-slider::after { width: 16px; height: 16px; }
      body.dark-mode .mobile-menu .theme-toggle { border-color: rgba(255,255,255,0.2); }

      .slider-container { height: 320px; }
      .slider-slide { padding: 2.6rem 1.15rem; }
      .slider-content h2 { font-size: 1.45rem; }
      .slider-content p { font-size: 0.95rem; }
      .slider-nav { width: 40px; height: 40px; font-size: 1.15rem; top: auto; bottom: 1.2rem; transform: translateY(0); opacity: 0.92; }
      .slider-prev { left: 1rem; }
      .slider-next { right: 1rem; }
      .slider-nav:hover { transform: scale(1.05); }
      .slider-controls { bottom: 0.6rem; gap: 0.6rem; }
      .slide-icon { font-size: 80px; }

      .section-title h2 { font-size: 1.55rem; }
      .services-grid { gap: 1.2rem; }
      .service-card { padding: 1.5rem 1.25rem 1.2rem; }
      .service-card h3 { font-size: 1.05rem; }
      .service-card p { font-size: 0.92rem; }
      .footer-content { gap: 1.2rem; }
      footer { margin-top: 2.6rem; }
    }

    @media (max-width: 520px) {
      .header-container { gap: 0.5rem; }
      .logo img { width: 70px; height: 70px; border-radius: 10px; }
      .logo h1 { font-size: 1.05rem; }
      .logo p { font-size: 0.7rem; }
      .slogan-text { font-size: 0.85rem; }
      .slider-container { height: 270px; }
      .slider-content h2 { font-size: 1.25rem; line-height: 1.25; }
      .slider-content p { font-size: 0.9rem; line-height: 1.5; }
      .slider-nav { width: 36px; height: 36px; font-size: 1rem; bottom: 0.9rem; }
      .slider-prev { left: 0.75rem; }
      .slider-next { right: 0.75rem; }
      .slider-controls { bottom: 0.4rem; }
      .slide-icon { font-size: 60px; }
      .section-title h2 { font-size: 1.4rem; }
      .services-grid { grid-template-columns: 1fr; }
      main { padding: 0 0.85rem 2.4rem; }
    }


    /* Footer – volle Breite, hell im Light Mode */
.footer-full {
  background-color: #f8f9fa; /* helles Grau wie bg-body-tertiary */
  color: #495057;
  width: 100%;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.footer-link {
  color: #6c757d; /* grau wie link-secondary */
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #0d6efd; /* Bootstrap-Blau bei Hover */
}

.footer-copyright {
  color: #6c757d;
}

/* Dark Mode Anpassung */
body.dark-mode .footer-full {
  background-color: #1e1e1e;
  color: #adb5bd;
  border-color: #333 !important;
}

body.dark-mode .footer-link,
body.dark-mode .footer-copyright {
  color: #adb5bd;
}

body.dark-mode .footer-link:hover {
  color: #6ea8fe;
}


/* Combobox Styling */
.footer-combobox-wrapper {
    position: relative;
    width: 100%;
    max-width: 300px;
}

.footer-combobox {
    width: 100%;
    padding: 0.6rem 0.75rem;
    padding-right: 2.5rem;
    border: 1px solid rgba(var(--bs-body-color-rgb), 0.15);
    border-radius: 0.375rem;
    background-color: rgba(var(--bs-body-bg-rgb), 0.7);
    color: var(--bs-body-color);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.footer-combobox:hover {
    border-color: rgba(var(--bs-danger-rgb), 0.4);
    background-color: rgba(var(--bs-body-bg-rgb), 0.9);
}

.footer-combobox:focus {
    border-color: var(--bs-danger);
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-danger-rgb), 0.25);
    outline: none;
}

.footer-combobox-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--bs-secondary);
    pointer-events: none;
}

/* Dark Mode Anpassungen */
[data-bs-theme="dark"] .footer-combobox {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .footer-combobox:hover {
    background-color: rgba(255, 255, 255, 0.12);
}

[data-bs-theme="dark"] .footer-combobox-icon {
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .footer-combobox-wrapper {
        max-width: 100%;
    }
}


/* Zusätzliches CSS für die Farbanpassung der FAQ-Pfeile */

  .custom-faq .accordion-button::after {
    filter: var(--bs-body-color-rgb) == "255, 255, 255" ? invert(1) : none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23dc3545'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  }
  .custom-faq .accordion-button:not(.collapsed) {
    color: #dc3545 !important;
    background-color: transparent !important;
  }
  /* Automatischer Dark Mode Support für Bootstrap Icons im Akkordeon */
  [data-bs-theme='dark'] .custom-faq .accordion-button::after {
    filter: invert(1) grayscale(1) brightness(2);
  }

/* HARD FIX: FAQ Dark Mode Text */
[data-bs-theme="dark"] #faq,
[data-bs-theme="dark"] #faq * {
  color: #f1f3f5 !important;
}

/* Accordion Antworten etwas softer */
[data-bs-theme="dark"] #faq .accordion-body {
  color: #dee2e6 !important;
}

/* Geöffnete Frage rot lassen */
[data-bs-theme="dark"] #faq .accordion-button:not(.collapsed) {
  color: #dc3545 !important;
}


/* FAQ Text immer hell, wenn Hintergrund dunkel ist */
body.dark-mode #faq,
body.dark-mode #faq * {
  color: #f1f3f5 !important;
}

@media (prefers-color-scheme: dark) {
  #faq,
  #faq * {
    color: #f1f3f5 !important;
  }

  #faq .accordion-body {
    color: #dee2e6 !important;
  }

  #faq .accordion-button:not(.collapsed) {
    color: #dc3545 !important;
  }
}

/* ========================================
   Windows-Tipps Bereich - Styling (KORRIGIERT)
   ======================================== */

/* Hauptcontainer für die Tipps-Sektion */
.tips-section {
  background: var(--bs-body-bg);
  transition: background-color 0.3s ease;
}

/* HELLMODUS (Standard) */
.tips-section {
  background: #ffffff;
}

.tips-section .tip-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1) !important;
}

.tips-section .tip-description {
  color: #495057;
}

.tips-section h2 {
  color: #212529;
}

.tips-section .text-muted {
  color: #6c757d !important;
}

/* DUNKELMODUS (Explizit) */
[data-bs-theme="dark"] .tips-section,
body.dark-mode .tips-section {
  background: #1a1d20 !important;
}

[data-bs-theme="dark"] .tips-section .tip-card,
body.dark-mode .tips-section .tip-card {
  background: #212529 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

[data-bs-theme="dark"] .tips-section h2,
body.dark-mode .tips-section h2 {
  color: #f8f9fa !important;
}

[data-bs-theme="dark"] .tips-section .text-muted,
body.dark-mode .tips-section .text-muted {
  color: #adb5bd !important;
}

[data-bs-theme="dark"] .tips-section .tip-description,
body.dark-mode .tips-section .tip-description {
  color: #d1d5db !important;
}

[data-bs-theme="dark"] .tips-section h3,
body.dark-mode .tips-section h3 {
  color: #f8f9fa !important;
}

/* Link-Wrapper ohne Standard-Styling */
.tip-card-link {
  display: block;
  color: inherit;
  transition: transform 0.3s ease;
}

.tip-card-link:hover {
  transform: translateY(-4px);
}

/* Tipp-Karte */
.tip-card {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Hover-Effekt für die Karte */
.tip-card-link:hover .tip-card {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
}

/* Dark Mode: Stärkerer Schatten */
[data-bs-theme="dark"] .tip-card-link:hover .tip-card,
body.dark-mode .tip-card-link:hover .tip-card {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
}

/* Icon-Container */
.tip-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.tip-card-link:hover .tip-icon {
  transform: scale(1.1);
}

/* Beschreibungstext */
.tip-description {
  opacity: 0.9;
  line-height: 1.6;
  transition: opacity 0.3s ease;
}

.tip-card-link:hover .tip-description {
  opacity: 1;
}

/* Footer-Bereich der Karte */
.tip-footer {
  transition: transform 0.3s ease;
}

.tip-card-link:hover .tip-footer {
  transform: translateX(4px);
}

/* Responsive Anpassungen */
@media (max-width: 767.98px) {
  .tip-card {
    margin-bottom: 1rem;
  }
  
  .tips-section .h2 {
    font-size: 1.75rem;
  }
}

/* Farbvarianten für Icons */
.text-primary {
  color: #0d6efd !important;
}

.text-success {
  color: #198754 !important;
}

.text-danger {
  color: #dc3545 !important;
}

/* Dark Mode: Anpassung der Icon-Farben für bessere Sichtbarkeit */
[data-bs-theme="dark"] .text-primary,
body.dark-mode .text-primary {
  color: #6ea8fe !important;
}

[data-bs-theme="dark"] .text-success,
body.dark-mode .text-success {
  color: #75b798 !important;
}

[data-bs-theme="dark"] .text-danger,
body.dark-mode .text-danger {
  color: #ea868f !important;
}

/* Subtile Hintergrund-Animation beim Hover */
.tip-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(13, 110, 253, 0.05),
    transparent
  );
  transition: left 0.5s ease;
  pointer-events: none;
}

.tip-card-link:hover .tip-card::before {
  left: 100%;
}

/* Dark Mode: Stärkerer Gradient-Effekt */
[data-bs-theme="dark"] .tip-card::before,
body.dark-mode .tip-card::before {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(110, 168, 254, 0.1),
    transparent
  );
}

/* Sicherstellen, dass die Border-Farbe im Dark Mode korrekt ist */
[data-bs-theme="dark"] .tips-section .border,
body.dark-mode .tips-section .border {
  border-color: rgba(255, 255, 255, 0.1) !important;
}


/* ========================================
   Windows-Optimierung Sektion - CSS (KORRIGIERT)
   ======================================== */

/* HELLMODUS - Standard */
#optimization-tips {
  background: #ffffff;
}

#optimization-tips h1,
#optimization-tips h2,
#optimization-tips h3,
#optimization-tips h4,
#optimization-tips h5,
#optimization-tips h6 {
  color: #212529;
}

#optimization-tips p,
#optimization-tips .lead {
  color: #495057;
}

#optimization-tips .text-muted {
  color: #6c757d !important;
}

#optimization-tips .small {
  color: #6c757d;
}

/* Optimization Card Styling - Light Mode */
#optimization-tips .optimization-card {
  background: #ffffff;
  border: 1px solid #dee2e6;
  transition: all 0.3s ease;
}

#optimization-tips .optimization-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
}

/* Step Guide - Light Mode */
#optimization-tips .step-guide {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 0.5rem;
  border-left: 3px solid #dc3545;
}

/* Alert - Light Mode */
#optimization-tips .alert-light {
  background: #f8f9fa;
  border-color: #dee2e6;
}

#optimization-tips .alert-light .text-danger {
  color: #dc3545 !important;
}

/* Summary Box - Light Mode */
#optimization-tips .summary-box {
  background: rgba(220, 53, 69, 0.02);
  border-color: #dc3545;
}

/* Code - Light Mode */
#optimization-tips code {
  background: rgba(0, 0, 0, 0.05);
  color: #212529;
  padding: 0.2rem 0.4rem;
  border-radius: 0.25rem;
  font-family: 'Courier New', monospace;
}

/* ========================================
   DUNKELMODUS - Explizite Farben
   ======================================== */

[data-bs-theme="dark"] #optimization-tips,
body.dark-mode #optimization-tips {
  background: #1a1d20;
}

/* Überschriften - Dark Mode */
[data-bs-theme="dark"] #optimization-tips h1,
[data-bs-theme="dark"] #optimization-tips h2,
[data-bs-theme="dark"] #optimization-tips h3,
[data-bs-theme="dark"] #optimization-tips h4,
[data-bs-theme="dark"] #optimization-tips h5,
[data-bs-theme="dark"] #optimization-tips h6,
body.dark-mode #optimization-tips h1,
body.dark-mode #optimization-tips h2,
body.dark-mode #optimization-tips h3,
body.dark-mode #optimization-tips h4,
body.dark-mode #optimization-tips h5,
body.dark-mode #optimization-tips h6 {
  color: #f8f9fa !important;
}

/* Haupttext - Dark Mode */
[data-bs-theme="dark"] #optimization-tips p,
[data-bs-theme="dark"] #optimization-tips .lead,
body.dark-mode #optimization-tips p,
body.dark-mode #optimization-tips .lead {
  color: #d1d5db !important;
}

/* Text-Muted - Dark Mode (WICHTIG!) */
[data-bs-theme="dark"] #optimization-tips .text-muted,
[data-bs-theme="dark"] #optimization-tips .small,
[data-bs-theme="dark"] #optimization-tips .text-muted .small,
body.dark-mode #optimization-tips .text-muted,
body.dark-mode #optimization-tips .small,
body.dark-mode #optimization-tips .text-muted .small {
  color: #adb5bd !important;
}

/* Strong Text - Dark Mode */
[data-bs-theme="dark"] #optimization-tips strong,
body.dark-mode #optimization-tips strong {
  color: #f8f9fa !important;
}

/* Optimization Card - Dark Mode */
[data-bs-theme="dark"] #optimization-tips .optimization-card,
body.dark-mode #optimization-tips .optimization-card {
  background: #212529 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

[data-bs-theme="dark"] #optimization-tips .optimization-card:hover,
body.dark-mode #optimization-tips .optimization-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
}

/* Step Guide - Dark Mode */
[data-bs-theme="dark"] #optimization-tips .step-guide,
body.dark-mode #optimization-tips .step-guide {
  background: rgba(255, 255, 255, 0.05) !important;
  border-left-color: #ea868f !important;
}

/* Step Number - Dark Mode */
[data-bs-theme="dark"] #optimization-tips .step-number,
body.dark-mode #optimization-tips .step-number {
  background: #dc3545;
  color: #ffffff;
}

/* Alert - Dark Mode */
[data-bs-theme="dark"] #optimization-tips .alert-light,
body.dark-mode #optimization-tips .alert-light {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

[data-bs-theme="dark"] #optimization-tips .alert-light .text-danger,
body.dark-mode #optimization-tips .alert-light .text-danger {
  color: #ea868f !important;
}

/* Summary Box - Dark Mode */
[data-bs-theme="dark"] #optimization-tips .summary-box,
body.dark-mode #optimization-tips .summary-box {
  background: rgba(255, 255, 255, 0.03) !important;
  border-color: rgba(234, 134, 143, 0.3) !important;
}

/* Code - Dark Mode */
[data-bs-theme="dark"] #optimization-tips code,
body.dark-mode #optimization-tips code {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #a8d8ff !important;
  border-radius: 0.25rem;
}

/* Optimization Visual - Dark Mode */
[data-bs-theme="dark"] #optimization-tips .optimization-visual,
body.dark-mode #optimization-tips .optimization-visual {
  background: linear-gradient(135deg, rgba(234, 134, 143, 0.1), rgba(234, 134, 143, 0.05)) !important;
}

[data-bs-theme="dark"] #optimization-tips .optimization-visual .text-muted,
body.dark-mode #optimization-tips .optimization-visual .text-muted {
  color: #adb5bd !important;
}

/* Border Colors - Dark Mode */
[data-bs-theme="dark"] #optimization-tips .border,
body.dark-mode #optimization-tips .border {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

[data-bs-theme="dark"] #optimization-tips .border-start,
body.dark-mode #optimization-tips .border-start {
  border-left-color: #dc3545 !important;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 767.98px) {
  #optimization-tips .optimization-card {
    margin-bottom: 1.5rem;
  }

  #optimization-tips .optimization-visual {
    margin-bottom: 1.5rem;
  }

  #optimization-tips h1 {
    font-size: 1.5rem !important;
  }
}

/* ========================================
   Zusätzliche Verbesserungen
   ======================================== */

/* Sicherstellen, dass alle Text-Elemente lesbar sind */
#optimization-tips {
  color: inherit;
}

#optimization-tips .d-flex {
  color: inherit;
}

#optimization-tips .step-content {
  color: inherit;
}

/* Dark Mode - Alle Text-Elemente */
[data-bs-theme="dark"] #optimization-tips,
[data-bs-theme="dark"] #optimization-tips *,
body.dark-mode #optimization-tips,
body.dark-mode #optimization-tips * {
  color-scheme: dark;
}

/* Spezifische Farb-Overrides für Dark Mode */
[data-bs-theme="dark"] #optimization-tips .lead,
body.dark-mode #optimization-tips .lead {
  color: #d1d5db !important;
}

[data-bs-theme="dark"] #optimization-tips .fst-italic,
body.dark-mode #optimization-tips .fst-italic {
  color: #adb5bd !important;
}

/* Icon Farben - Dark Mode */
[data-bs-theme="dark"] #optimization-tips .text-danger,
body.dark-mode #optimization-tips .text-danger {
  color: #ea868f !important;
}


/* Google Reviews */
.google-review-card {
  background: linear-gradient(145deg, #ffffff, #f8f9fa);
  border: 1px solid rgba(0,0,0,0.08);
  transition: all .25s ease;
}

.google-review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
}

.google-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #4285f4;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.google-stars {
  color: #fbbc04;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

/* Dark Mode */
[data-bs-theme="dark"] .google-review-card,
body.dark-mode .google-review-card {
  background: linear-gradient(145deg, #212529, #1a1d20);
  border-color: rgba(255,255,255,.1);
}

[data-bs-theme="dark"] .google-review-card p {
  color: #dee2e6;
}

/* Floating Call Button */
#floatingCallBtn {
  position: fixed;
  right: 22px;
  bottom: 22px;
  top: auto;
  transform: none;
  width: 58px;
  height: 58px;
  background: var(--bs-danger);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
  transition: transform .3s ease, box-shadow .3s ease;
  text-decoration: none;
}

#floatingCallBtn i {
  font-size: 1.6rem;
}

#floatingCallBtn:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

/* Neue Animation: erst Rotation, dann Pulse */
@keyframes callPulse {
  0%   { transform: rotate(0deg) scale(1); }
  20%  { transform: rotate(360deg) scale(1.05); }

  40%  { transform: scale(1.12); }
  55%  { transform: scale(1); }

  70%  { transform: rotate(-8deg); }
  85%  { transform: rotate(8deg); }
  100% { transform: rotate(0deg) scale(1); }
}

.call-animate {
  animation: callPulse 1.4s ease;
}
