/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */


#main-slider-hero .swiper-pagination-horizontal {

    left: 97%;
	max-width: unset;
}

/* 1. Parent Container */
.leistungen-container-item {
  position: relative;
  background: #ffffff;
  padding: 40px;
  /* Smooth lift animation */
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
              box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: pointer;
  border: 1px solid #f0f0f0;
  overflow: hidden; 
}

/* 2. The Divider (Set to slide from left) */
.leistungen-container-item #leistungen-divider-effect {
  border: none; 
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px; 
  background-color: #003366;
  margin: 0;
  
  /* Start at 0 width */
  transform: scaleX(0);
  
  /* CRITICAL: This makes it start from the left */
  transform-origin: left; 
  
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* 3. Hover Effect */
.leistungen-container-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.leistungen-container-item:hover #leistungen-divider-effect {
  /* Scales to 100% width from the left anchor point */
  transform: scaleX(1);
}

.elementor-field::placeholder{
	color: #000000 !important;
	opacity: 1 !important;
}

.elementor-form a{
	text-decoration: underline;
}
/* Base checkbox (FIXED) */
.elementor-field-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    border: 2px solid #c7c7c7;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    position: relative;
    transition: all 0.25s ease;
    vertical-align: middle;
    margin: 0;
    accent-color: #0057A1; /* keeps native check working */
}

/* Hover effect */
.elementor-field-option input[type="checkbox"]:hover {
    border-color: #606C38;
    box-shadow: 0 0 0 3px rgba(96, 108, 56, 0.15);
}

/* Checked state (safe styling only) */
.elementor-field-option input[type="checkbox"]:checked {
    border-color: #0057A1;
    background-color: #0057A1;
    transform: scale(1.05);
}

/* Click animation */
.elementor-field-option input[type="checkbox"]:active {
    transform: scale(0.92);
}

/* Label alignment */
.elementor-field-option {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #333;
    padding: 10px 0;
}