/* Timesaver Gold Theme Override */
/* Main Gold Color: RGB(185, 137, 72) = #B98948 */

/* Gold Color Palette */
:root {
  --gold-primary: #B98948;
  --gold-dark: #A6783F;
  --gold-light: #D4A574;
  --gold-lighter: #E8C99A;
  --gold-lightest: #F5E6D3;
}

/* Primary Button Colors with Gold Gradient */
.primary-button {
  background: linear-gradient(135deg, #B98948 0%, #D4A574 50%, #B98948 100%) !important;
  border-color: #B98948 !important;
  box-shadow: 0 4px 15px rgba(185, 137, 72, 0.3) !important;
}

.primary-button:hover {
  background: linear-gradient(135deg, #A6783F 0%, #B98948 50%, #A6783F 100%) !important;
  border-color: #A6783F !important;
  box-shadow: 0 6px 20px rgba(185, 137, 72, 0.4) !important;
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

/* Theme Color Classes */
.text-theme-color-03 {
  color: #B98948 !important;
}

.bg-theme-color-03 {
  background: linear-gradient(135deg, #B98948 0%, #D4A574 100%) !important;
}

/* Hero Section with Gold Gradient */
.hero-section {
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF9F6 30%, #FFE4DA 60%, #F5E6D3 100%) !important;
}

/* Links and Accents */
a.text-theme-color-03,
.footer-menu-item p.text-theme-color-03 {
  color: #B98948 !important;
}

a.text-theme-color-03:hover {
  color: #A6783F !important;
}

/* Calculator Active Button */
.calc-toggle button.active {
  background: linear-gradient(135deg, #B98948 0%, #D4A574 100%) !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(185, 137, 72, 0.3) !important;
}

/* Calculator Gradient Override - Solid Gold */
.calc-right {
  background: #B98948 !important;
  color: #FFFFFF !important;
}

/* Calculator Results Text Color */
#results,
.calc-right #results,
.calc-right {
  color: #FFFFFF !important;
}

/* Input Range Slider (Webkit) */
input[type="range"]::-webkit-slider-thumb {
  background: linear-gradient(135deg, #B98948 0%, #D4A574 100%) !important;
  box-shadow: 0 2px 6px rgba(185, 137, 72, 0.4) !important;
}

input[type="range"]::-moz-range-thumb {
  background: linear-gradient(135deg, #B98948 0%, #D4A574 100%) !important;
  box-shadow: 0 2px 6px rgba(185, 137, 72, 0.4) !important;
}

input[type="range"]::-ms-thumb {
  background: linear-gradient(135deg, #B98948 0%, #D4A574 100%) !important;
  box-shadow: 0 2px 6px rgba(185, 137, 72, 0.4) !important;
}

/* Focus States */
*:focus {
  outline-color: #B98948 !important;
  box-shadow: 0 0 0 3px rgba(185, 137, 72, 0.2) !important;
}

/* Dropdown and Navigation Hover States */
.nav-link-2:hover,
.nav-link:hover {
  color: #B98948 !important;
}

/* Testimonial Section Background with Gold Gradient */
.section-bg.bg-theme-color-03 {
  background: none !important;
  background-color: rgba(185, 137, 72, 1) !important;
  background-image: none !important;
  color: rgba(255, 255, 255, 1) !important;
}

/* Footer Links */
.footer-menu-item:hover p {
  color: #B98948 !important;
}

/* Active Tab States with Gold Gradient */
.w-tab-link.w--current {
  color: #B98948 !important;
  border-color: #B98948 !important;
  background: linear-gradient(180deg, rgba(185, 137, 72, 0.1) 0%, rgba(185, 137, 72, 0.05) 100%) !important;
}

/* Benefit Cards with Gold Accents */
.single-benefit-card {
  border-top: 3px solid transparent;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF9F6 100%);
  transition: all 0.3s ease;
  padding: 2rem 1.5rem !important;
}

.single-benefit-card:hover {
  border-top-color: #B98948;
  box-shadow: 0 8px 24px rgba(185, 137, 72, 0.15);
  transform: translateY(-4px);
}

/* Center Benefit Icons */
.benefit-icon {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
  margin-bottom: 1.5rem !important;
}

/* Add spacing to benefit content */
.benefits-content {
  padding: 0 0.5rem !important;
}

.benefits-content p {
  margin-bottom: 0.75rem !important;
}

.benefits-content p:last-child {
  margin-bottom: 0 !important;
}

/* Center Benefit Card Titles */
p.body-text-20-px-medium-6 {
  text-align: center !important;
}

/* Feature Section Backgrounds */
.feature-section {
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF9F6 50%, #FFFFFF 100%);
}

/* CTA Section with Gold Gradient */
.cta-section {
  background: linear-gradient(135deg, #B98948 0%, #D4A574 50%, #A6783F 100%) !important;
}

/* Text Button with Gold Hover */
.text-button-2:hover {
  color: #B98948 !important;
}

/* Logo Styling */
.logo-header,
.logo {
  max-height: 50px;
  width: auto;
  object-fit: contain;
}

/* Brand Section Background */
.brand-section-02 {
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF9F6 100%);
}

/* FAQ Section with Gold Accents */
.single-faq.w-dropdown:hover {
  border-left: 3px solid #B98948;
}

/* Setup Cards with Gold Gradient on Hover */
.single-benefits-card---setup:hover {
  background: linear-gradient(180deg, #FFF9F6 0%, #FFE4DA 100%);
  border-color: #B98948;
}

/* Section Titles with Gold Color */
.heading-7,
.heading-1,
.display-heading {
  color: #B98948 !important;
}

/* CTA Section Display Heading - White Text */
.cta-section .display-heading {
  color: rgba(255, 255, 255, 1) !important;
}

/* CTA Section Text Alignment - Right */
.cta-section h1.heading-7 {
  text-align: right;
}

.cta-section p.body-text-18-px-regular-5 {
  text-align: right;
}

/* Display Heading Custom Font Size */
h1.display-heading---custom {
  font-size: 48px !important;
  font-weight: 400 !important;
}

.heading-7-bolder strong,
.bold-text-for-hero {
  color: #A6783F !important;
}

/* Feature Image Background with Gold Gradient */
.feature-image-bg {
  background: linear-gradient(135deg, #F5E6D3 0%, #E8C99A 25%, #D4A574 50%, #B98948 75%, #A6783F 100%) !important;
  border-radius: 16px;
}

/* CTA Section Body Text Styling */
p.body-text-20-px-regular-3 {
  font-weight: 600 !important;
  font-size: 30px !important;
  color: rgba(255, 255, 255, 1) !important;
}

/* CTA Text Styling - Black text with reduced line height */
p.body-text-20-px-regular-3.cta-text {
  font-size: 20px !important;
  color: rgba(90, 88, 88, 1) !important;
  line-height: 1.4 !important;
}

/* Center text alignment for body-text-20-px-medium-6 */
p.body-text-20-px-medium-6 {
  text-align: center !important;
}

/* Center align body text in benefit cards */
p.body-text-20-px-medium-6 {
  text-align: center !important;
}

/* ========================================
   RESPONSIVE STYLES FOR MOBILE DEVICES
   ======================================== */

/* Tablet and below (max-width: 768px) */
@media (max-width: 768px) {
  /* Prevent horizontal scrolling on mobile */
  html,
  body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
  }
  
  * {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  /* Header - Mobile - Ensure proper spacing */
  .header-home,
  .header {
    position: relative !important;
    z-index: 100 !important;
    max-width: 100vw !important;
    width: 100% !important;
    overflow-x: hidden !important;
  }
  
  .hero-section {
    padding: 2rem 0 !important;
    margin-top: 0 !important;
    position: relative !important;
    z-index: 1 !important;
  }
  
  /* Hero Section - Mobile */
  h1.display-heading---custom {
    font-size: 32px !important;
    line-height: 1.2 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  
  .hero-left-content {
    margin-bottom: 2rem !important;
    opacity: 1 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    transform: none !important;
    visibility: visible !important;
    position: relative !important;
  }
  
  .hero-title {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  
  .hero-image-wrapper {
    min-height: 300px !important;
  }
  
  /* Ensure hero content is visible on mobile */
  [data-w-id="aed5c06e-5600-0411-6c2b-758fc45de0c1"] {
    opacity: 1 !important;
    transform: none !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  
  /* Navigation - Mobile */
  .logo-header,
  .logo {
    max-height: 40px !important;
  }
  
  .nav-menu {
    font-size: 14px !important;
  }
  
  /* Benefit Cards - Mobile Stack */
  .benefits-content-wrapper-5 {
    flex-direction: column !important;
    gap: 1.5rem !important;
  }
  
  .single-benefit-card {
    width: 100% !important;
    padding: 1.5rem 1rem !important;
    margin-bottom: 1rem !important;
  }
  
  /* Section Titles - Mobile */
  .heading-7,
  .heading-1 {
    font-size: 28px !important;
    line-height: 1.3 !important;
  }
  
  .heading-9 {
    font-size: 24px !important;
  }
  
  /* Feature Sections - Mobile */
  .single-feature-3 {
    flex-direction: column !important;
    gap: 2rem !important;
  }
  
  .feature-left-content,
  .feature-image-bg {
    width: 100% !important;
  }
  
  
  /* Reorder sections on mobile - ROI before "Verfügbarkeit & Geschwindigkeit" */
  body {
    display: flex !important;
    flex-direction: column !important;
  }

  /* First benefits-section (Benefit Cards) - keep at top */
  section.benefits-section:first-of-type {
    order: 0 !important;
  }

  /* Second benefits-section ("Sprach Assistent in Aktion") - keep second */
  section.benefits-section:nth-of-type(2) {
    order: 1 !important;
  }

  /* ROI Section ("Sofortiger ROI") - move before feature-section */
  section.benefits-section:has(.heading-7-bolder) {
    order: 2 !important;
  }

  /* Fallback for browsers without :has() - ROI section comes after feature-section in HTML */
  section.feature-section ~ section.benefits-section {
    order: 2 !important;
  }

  /* First feature-section ("Verfügbarkeit & Geschwindigkeit") - move after ROI */
  section.feature-section:first-of-type {
    order: 3 !important;
  }

  /* Other feature-sections - keep natural order after first */
  section.feature-section:not(:first-of-type) {
    order: 4 !important;
  }

  
  /* Tabs - Mobile */
  .pricing-card-tab-list {
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
  }
  
  .spark-simple-flat-square-tab-2 {
    font-size: 12px !important;
    padding: 0.5rem 0.75rem !important;
  }
  
  /* CTA Section - Mobile */
  .cta-section .display-heading {
    font-size: 28px !important;
    line-height: 1.3 !important;
  }
  
  p.body-text-20-px-regular-3 {
    font-size: 18px !important;
  }
  
  p.body-text-20-px-regular-3.cta-text {
    font-size: 16px !important;
  }
  
  .primary-button {
    width: 100% !important;
    padding: 1rem !important;
  }
  
  /* Section Padding - Mobile */
  .section-padding {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  /* Body Text - Mobile */
  .body-text-20-px-medium-6 {
    font-size: 18px !important;
  }
  
  .body-text-18-px-regular-5 {
    font-size: 16px !important;
  }
  
  .body-text-16-px-regular-3 {
    font-size: 14px !important;
  }
  
  /* Footer - Mobile */
  .footer-content-wrapper {
    flex-direction: column !important;
    gap: 2rem !important;
  }
  
  /* Container - Mobile */
  .w-container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

/* Mobile Phones (max-width: 480px) */
@media (max-width: 480px) {
  /* Header - Small Mobile */
  .header-home,
  .header {
    position: relative !important;
    z-index: 100 !important;
  }
  
  .hero-section {
    padding: 1.5rem 0 !important;
    margin-top: 0 !important;
    position: relative !important;
    z-index: 1 !important;
  }
  
  /* Hero Section - Small Mobile */
  h1.display-heading---custom {
    font-size: 24px !important;
    line-height: 1.2 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  
  .hero-left-content {
    opacity: 1 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    transform: none !important;
    visibility: visible !important;
    position: relative !important;
  }
  
  /* Ensure hero content is visible on small mobile */
  [data-w-id="aed5c06e-5600-0411-6c2b-758fc45de0c1"] {
    opacity: 1 !important;
    transform: none !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  
  .hero-title h1,
  .hero-title {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  
  /* Navigation - Small Mobile */
  .logo-header,
  .logo {
    max-height: 35px !important;
  }
  
  /* Benefit Cards - Small Mobile */
  .single-benefit-card {
    padding: 1.25rem 0.75rem !important;
  }
  
  .benefit-icon {
    width: 60px !important;
    height: 60px !important;
    margin-bottom: 1rem !important;
  }
  
  /* Section Titles - Small Mobile */
  .heading-7,
  .heading-1 {
    font-size: 24px !important;
  }
  
  .heading-9 {
    font-size: 20px !important;
  }
  
  /* Feature Sections - Small Mobile */
  .feature-section-title-3 {
    margin-bottom: 1.5rem !important;
  }
  
  .feature-icon-box-list {
    gap: 1rem !important;
  }
  
  /* Tabs - Small Mobile */
  .pricing-card-tab-list {
    flex-direction: column !important;
  }
  
  .spark-simple-flat-square-tab-2 {
    width: 100% !important;
    text-align: center !important;
  }
  
  /* CTA Section - Small Mobile */
  .cta-section .display-heading {
    font-size: 22px !important;
  }
  
  p.body-text-20-px-regular-3 {
    font-size: 16px !important;
  }
  
  p.body-text-20-px-regular-3.cta-text {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }
  
  /* Section Padding - Small Mobile */
  .section-padding {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  
  /* Body Text - Small Mobile */
  .body-text-20-px-medium-6 {
    font-size: 16px !important;
  }
  
  .body-text-18-px-regular-5 {
    font-size: 14px !important;
  }
  
  .body-text-16-px-regular-3 {
    font-size: 13px !important;
  }
  
  .body-text-14-px-regular-2 {
    font-size: 12px !important;
  }
  
  /* FAQ Section - Small Mobile */
  .single-faq {
    margin-bottom: 0.75rem !important;
  }
  
  /* Testimonial - Small Mobile */
  .testimonial-content-area {
    padding: 1.5rem !important;
  }
  
  .heading-3 {
    font-size: 20px !important;
    line-height: 1.4 !important;
  }
  
  /* Container - Small Mobile */
  .w-container {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }
  
  /* Remove negative margins on mobile */
  .remove-top-padding {
    padding-top: 2rem !important;
  }
  
  /* Calculator - Small Mobile */
  .calc-wrapper {
    margin: 1rem 0.5rem !important;
  }
  
  .calc-body {
    padding: 1rem !important;
    gap: 1rem !important;
  }
  
  .calc-card h4 {
    font-size: 0.9rem !important;
  }
  
  .calc-card .value {
    font-size: 1.8rem !important;
  }
}

/* Very Small Mobile (max-width: 360px) */
@media (max-width: 360px) {
  .hero-left-content {
    opacity: 1 !important;
    transform: none !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  
  [data-w-id="aed5c06e-5600-0411-6c2b-758fc45de0c1"] {
    opacity: 1 !important;
    transform: none !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  
  h1.display-heading---custom {
    font-size: 20px !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  
  .heading-7,
  .heading-1 {
    font-size: 20px !important;
  }
  
  .heading-9 {
    font-size: 18px !important;
  }
  
  .single-benefit-card {
    padding: 1rem 0.5rem !important;
  }
  
  .body-text-20-px-medium-6 {
    font-size: 15px !important;
  }
  
  .cta-section .display-heading {
    font-size: 20px !important;
  }
}


/* CTA Section - Two Column Layout */
@media (max-width: 768px) {
  .cta-section > div > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  
  .cta-section h1.heading-7 {
    font-size: 2rem !important;
    line-height: 1.3 !important;
  }
  
  .cta-section iframe {
    height: 900px !important;
    min-height: 900px !important;
  }
}

@media (max-width: 480px) {
  .cta-section {
    padding: 2rem 1rem !important;
  }
  
  .cta-section h1.heading-7 {
    font-size: 1.75rem !important;
  }
  
  .cta-section iframe {
    height: 500px !important;
  }
}