/*
Theme Name:       Bavaria Carstyling
Theme URI:        https://websei.de/
Description:      Individuelles Child-Theme für Bavaria Carstyling auf Basis von webseide-elementor.
Author:           websei.de
Author URI:       https://websei.de/
Template:         webseide-elementor
Version:          1.0.0
Text Domain:      bavaria-carstyling
License:          GNU General Public License v3 or later
License URI:      https://www.gnu.org/licenses/gpl-3.0.html
Tags:             custom-colors, custom-logo, editor-style, translation-ready
*/



/*--- Header ---*/
header,
.subheader {
	backdrop-filter: blur(2px);
}

header > .elementor-element,
main > .elementor-element,
footer > .elementor-element {
    padding-left: 0;
    padding-right: 0;
}

@media (max-width: 1460px) {
	header > .elementor-element,
	main > .elementor-element,
	footer > .elementor-element {
		padding-left: 10px;
		padding-right: 10px;
	}
	
	main > .elementor-element.e-con-full {
		padding-left: 0;
		padding-right: 0;
	}
}


/*--- Content ---*/
/* Scroll Animation */
.elementor-button,
.box {
	-webkit-transition: all .5s;
	-moz-transition: all .5s;
	transition: all .5s;
}

@media (min-width:767px){
	.box .elementor-widget-button {
		opacity: 0;
		height: 0;
		-webkit-transition: all .5s;
		-moz-transition: all .5s;
		transition: all .5s;
	}

	.box:hover .elementor-widget-button {
		opacity: 1;
		height: auto;
	}
}

/* Mockups */
/*.elementor-element.scene {
  perspective: 1000px;
  overflow: hidden;
}

.elementor-element.scene .car-image img {
  transform-style: preserve-3d;
  transition: transform 0.1s ease;
  border-radius: 0 !important;
  box-shadow: none !important;
}*/

/* Bildbewegung & Lichtglanz */
.scene {
  position: relative;
  overflow: hidden;
}

.scene .car-image img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.15s ease;
  will-change: transform;
  pointer-events: none;
  position: relative;
  z-index: 1;
}

.scene .light-glare {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 160%;
  background: linear-gradient(
    120deg,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.05) 30%,
    rgba(0, 0, 0, 0) 70%
  );
  mix-blend-mode: multiply;
  pointer-events: none;
  transform: translateX(-50%);
  transition: transform 0.2s ease;
  z-index: 2;
}



/* Google-Bewertungen */
.gmbrr .listing li {
    background:#17181A;
    padding: 20px;
    border-radius: 10px;
}

.gmbrr .listing .text,
.gmbrr .listing .author-name, 
.gmbrr .listing .author-name a {
	color: #D8D8D8;
}

.review-snippet br {
    display: none;
}

@media (min-width:767px){
    .gmbrr ul.listing {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        column-gap: 30px;
		align-items: start
    }
}

/* GravityForms */
#field_7_11 .gfield_label.gform-field-label {
	display: none
}

#field_7_11 .gchoice label {
  display: block;
  background-color: var( --e-global-color-764183d );
  color: #ffffff;
  border: 2px solid transparent;
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  height: 100%;
}

#field_7_11 .gfield_radio {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

#field_7_11 .gchoice {
  flex: 1 1 250px;
  max-width: 300px;
}

#field_7_11 .gchoice label h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

#field_7_11 .gchoice label p {
  margin: 0.3rem 0;
}

#field_7_11 .gchoice label .price {
  font-weight: bold;
  font-size: 1.25rem;
  margin-top: 0.7rem;
}

#field_7_11 input[type="radio"]:checked + label {
  position: relative;
  z-index: 1;
}

#field_7_11 input[type="radio"]:checked + label::before {
  content: "";
  position: absolute;
  inset: -2px; /* Rahmenstärke */
  border-radius: 16px;
  z-index: -1;
  background: linear-gradient(94deg, #EF7F1A 0%, #89490F 100%);
  mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: destination-out;
  padding: 2px;
  box-sizing: border-box;
}

#field_7_11 .gchoice label:hover {
  background-color: #2a2a2a;
}

#field_7_11 input[type="radio"] {
  display: none;
}

@media (min-width: 768px) {
    #field_7_11 .gfield_radio {
		flex-direction: row;
		flex-wrap: nowrap;
		justify-content: center;
		align-items: stretch;
    }

    #field_7_11 .gchoice {
		flex: 1 1 0;
		max-width: 300px;
    }
	
	.gform-body.gform_body {
		min-width: 700px;
	}
}

.gform-body select,
.gform-body input,
.gform-body textarea,
span.gform_drop_instructions,
.gform-theme--framework .gfield:where(.gfield--type-fileupload,.gfield--input-type-fileupload) .gform_drop_area::before {
	color: var( --e-global-color-text ) !important;
}

.gform-theme--framework select:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):where(:not([multiple])){
	background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0.292893 0.292893C0.683417 -0.097631 1.31658 -0.097631 1.70711 0.292893L5 3.58579L8.29289 0.292893C8.68342 -0.0976311 9.31658 -0.0976311 9.70711 0.292893C10.0976 0.683417 10.0976 1.31658 9.70711 1.70711L5.70711 5.70711C5.31658 6.09763 4.68342 6.09763 4.29289 5.70711L0.292893 1.70711C-0.0976311 1.31658 -0.0976311 0.683418 0.292893 0.292893Z' fill='%23ef7f1a'/%3E%3C/svg%3E") !important;
}

.gform-page-footer.gform_page_footer.top_label {
    max-width: 900px;
    width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: right;
}

button.gform_button_select_files,
.gform-page-footer input[type="button"], 
.gform-page-footer input[type="submit"],
.gform-footer input[type="submit"] {
	background-image: linear-gradient(130deg, #FBBC05 0%, #EF7F1A 100%) !important;
    border-radius: 10px 10px 10px 10px !important;
	border: none !important;
    padding: 023px 20px 23px 20px;
	border-color: transparent !important;
	padding: 15px 25px 15px 25px !important;
	line-height: 1.5em !important;
	color: var( --e-global-color-secondary ) !important;
}

.gform-page-footer input[type="button"].gform_previous_button {
	font-size: 16px !important;
	font-weight: normal !important;
	margin-right: 15px !important;
}

.brightbg .gfield_label,
.brightbg .gfield--type-html{
    color: black;
}

.brightbg .gform-footer input.gform_button[type="submit"]{
	color: white !important;
}
