.gby-icon-box .elementor-image-box-img {
    width: 100px;
    height: 95px;
    box-shadow: 5.33px 3.55px 1.78px 0px #00000040 inset;
    border-radius: 20.43px;
    border: 1.33px solid #1E1E1E;
    background: #3A3A3A;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
}

.gby-icon-box .elementor-image-box-img img {
    width: auto;
    max-height: 55px;
}

.gby-icon-box.gby-yellow .elementor-image-box-img {
    background: #D9B843;
    border-color: #D9B843;
}

.gby-icon-box.gby-green .elementor-image-box-img {
    background: #33AB55;
    border-color: #33AB55;
}

.gby-icon-box.gby-pink .elementor-image-box-img {
    background: #E56579;
    border-color: #E56579;
    
}

/* Contact Form */
.gby-form__row {
    display: flex;
    gap: 53px;
    color: #fff;
    font-weight: 500;
    font-size: 22px;
}

input[type="checkbox"][value="Baggerarbeiten"] + span {
    color: black!important;
}
input[type="checkbox"][value="Erd- & Pflanzenarbeiten"] + span {
    color: black!important;
}
input[type="checkbox"][value="Zaunanlagen & Sichtschutzwände"] + span {
    color: black!important;
}


.gby-form__row>div:last-child {
    flex-basis: 100%;
    max-width: 280px;
}

.gby-form__row p {
    margin-bottom: 0;
}

.gby-form__row label {
    margin-bottom: 5px;
}

.gby-form__cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 10px;
}

.gby-form__cols--span-2 {
    grid-template-columns: 1fr;
}

.wpcf7-radio .wpcf7-list-item {
    display: block;
    margin-bottom: 12px;
    margin-left: 0;
}

/* Style the label text span within .wpcf7-radio */
.wpcf7-radio .wpcf7-list-item .wpcf7-list-item-label {
    display: inline-block;
    position: relative;
    padding-left: 40px;
    line-height: 35px;
    cursor: pointer;
    color: #fff;
    font-weight: 500;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default radio button within .wpcf7-radio */
.wpcf7-radio .wpcf7-list-item input[type="radio"] {
    display: none;
}

/* Create the custom radio box using ::before on the text span within .wpcf7-radio */
.wpcf7-radio .wpcf7-list-item .wpcf7-list-item-label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 35px;
    height: 35px;
    background: #fff;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

/* Style the box when the corresponding input (previous sibling) is checked within .wpcf7-radio */
.wpcf7-radio .wpcf7-list-item input[type="radio"]:checked+.wpcf7-list-item-label::before {
    background-color: #2B0F03;
}

.wpcf7-form-control:not(.wpcf7-checkbox):not(.wpcf7-textarea):not(.wpcf7-submit):not(.wpcf7-select):not(.wpcf7-radio) {
    height: 35px;
    background-color: #fff;
    border-radius: 9px;
    padding: 3px 10px;
}

.wpcf7-form-control.wpcf7-textarea {
    height: 132px;
    background-color: #fff;
    border-radius: 9px;
    padding: 3px 10px;
}

.gby-form__cols-button {
    text-align: center;
}

.wpcf7-submit {
    font-weight: 600;
    font-size: 24px;
}

.wpcf7-spinner {
    margin: 0;
}

.gby-form__choose-service {
    display: block;
    margin-bottom: 30px !important;
    text-align: center;
}

.gby-service-dropdown .wpcf7-list-item,
.gby-service-dropdown .wpcf7-list-item label {
    display: block;
    margin: 0;
}

/* Hide the native checkbox */
.gby-service-dropdown input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Base styles for the label box */
.gby-service-dropdown .wpcf7-list-item-label {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    padding: 24px 12px 24px 95px;
    border-radius: 21px;
/*     box-shadow: 5.33px 3.55px 1.78px 0px #00000040 inset; */
    min-height: 96px;
    transition: all 0.3s ease;
    cursor: pointer;
    background-size: 80px auto;
    background-repeat: no-repeat;
    background-position: left 10px center;
    font-size: 20px;
}

/* Individual box background colors */
.gby-service-dropdown>.wpcf7-list-item:nth-child(1) .wpcf7-list-item-label {
	box-shadow: inset 0 0 0 2px #3A3A3A, inset 6px 4px 2px 0px #00000040, 0 0 0 0 #00000000;
    background-color: #3A3A3A;
    background-image: url('/wp-content/uploads/2025/04/form-Icon-Pflasterarbeiten.webp');
}

.gby-service-dropdown>.wpcf7-list-item:nth-child(2) .wpcf7-list-item-label {
	box-shadow: inset 0 0 0 2px #D9B843, inset 6px 4px 2px 0px #00000040, 0 0 0 0 #00000000;
    background-color: #D9B843;
    background-image: url('/wp-content/uploads/2025/04/form-Icon-Baggerarbeiten.webp');
}

.gby-service-dropdown>.wpcf7-list-item:nth-child(3) .wpcf7-list-item-label {
	box-shadow: inset 0 0 0 2px #33AB55, inset 6px 4px 2px 0px #00000040, 0 0 0 0 #00000000;
    background-color: #33AB55;
    background-image: url('/wp-content/uploads/2025/04/form-Icon-Erd-Pflanzenarbeiten.webp');
    background-size: 65px auto;
}

.gby-service-dropdown>.wpcf7-list-item:nth-child(4) .wpcf7-list-item-label {
	box-shadow: inset 0 0 0 2px #E56579, inset 6px 4px 2px 0px #00000040, 0 0 0 0 #00000000;
    background-color: #E56579;
    background-image: url('/wp-content/uploads/2025/04/form-Icon-Zaunanlagen-Sichtschutzwaende.webp');
    background-size: 60px auto;
}

/* Style when checkbox is hover */
.gby-service-dropdown>.wpcf7-list-item:nth-child(1):hover .wpcf7-list-item-label {
	box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 0 #00000040, 0 2px 15px 2px #ffffff80;
}

.gby-service-dropdown>.wpcf7-list-item:nth-child(2):hover .wpcf7-list-item-label {
	box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 0 #00000040, 0 2px 15px 2px #D9B855;
}

.gby-service-dropdown>.wpcf7-list-item:nth-child(3):hover .wpcf7-list-item-label {
	box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 0 #00000040, 0 2px 15px 2px #33AB55;
}

.gby-service-dropdown>.wpcf7-list-item:nth-child(4):hover .wpcf7-list-item-label {
	box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 0 #00000040, 0 2px 15px 2px #E56579;
}

/* Style when checkbox is checked */
.gby-service-dropdown>.wpcf7-list-item:nth-child(1) input[type="checkbox"]:checked+.wpcf7-list-item-label {
	box-shadow: inset 0 0 0 5px #fff, inset 0 0 0 0 #00000040, 0 4px 35px 5px #ffffff80;
}

.gby-service-dropdown>.wpcf7-list-item:nth-child(2) input[type="checkbox"]:checked+.wpcf7-list-item-label {
	box-shadow: inset 0 0 0 5px #fff, inset 0 0 0 0 #00000040, 0 4px 35px 5px #D9B855;
}

.gby-service-dropdown>.wpcf7-list-item:nth-child(3) input[type="checkbox"]:checked+.wpcf7-list-item-label {
	box-shadow: inset 0 0 0 5px #fff, inset 0 0 0 0 #00000040, 0 4px 35px 5px #33AB55;
}

.gby-service-dropdown>.wpcf7-list-item:nth-child(4) input[type="checkbox"]:checked+.wpcf7-list-item-label {
	box-shadow: inset 0 0 0 5px #fff, inset 0 0 0 0 #00000040, 0 4px 35px 5px #E56579;
}

.wpcf7-not-valid-tip {
    font-size: 14px;
}

.wpcf7 form .wpcf7-response-output {
    margin-inline: 0 !important;
    padding: 10px 20px;
    color: #fff;
}

/* Upload Container */
.gby-upload-container {
    text-align: center;
    margin-top: 200px;
    cursor: pointer;
}

.gby-upload-container p {
    line-height: 1em;
}

.gby-upload-container svg {
    width: 45px;
}

.gby-upload-button {
    width: 100px;
    height: 90px;
    margin: 0 auto 10px;
    background-color: #fff;
    border-radius: 18.31px;
    border: 6px solid rgba(159, 159, 159, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.gby-upload-label {
    font-size: 32px;
    font-weight: 500;
    hyphens: auto;
}

.gby-upload-input {
    display: none;
}

@media screen and (max-width: 992px) {
    .gby-form__row {
        gap: 25px;
    }

    .gby-upload-button{
        width: 80px;
        height: 70px;
    }

    .gby-upload-label {
        font-size: 22px;
    }

    .gby-form__cols{
        grid-template-columns: 100%;
    }

    .gby-form__row>div:last-child{
        max-width: 150px;
    }
}

@media screen and (max-width: 767px) {
    .gby-form__row{
        flex-direction: column;
    }
	
	.gby-form__cols-wrapper .gby-form__cols {
		margin-bottom: 20px;
	}
	
	.gby-form__cols-wrapper .gby-form__col {
		display: grid;
    	grid-template-columns: 120px 1fr;
	}
	
	.gby-form__cols-wrapper .gby-form__row label {
		margin: 0;
	}

    .gby-service-dropdown{
        display: grid;
        gap: 30px;
        grid-template-columns: calc(50% - 15px) calc(50% - 15px);
    }

    .gby-service-dropdown .wpcf7-list-item-label{
        margin: 0;
        padding: 95px 20px 30px;
        text-align: center;
        background-position: top 25px center;
        font-size: 16px;
        justify-content: center;
    }

    .gby-form__row>div:nth-child(1){
        order: 1;
    }

    .gby-form__row>div:nth-child(2){
        order: 3;
    }

    .gby-form__row>div:last-child{
        max-width: 100%;
        order: 2;
        margin: 0 auto;
    }

    .gby-upload-container{
        margin-top: 30px;
        margin-bottom: 20px;
    }
}

/* Leistungen tabs */
.gby-leistungen-tabs button.e-n-tab-title:focus-visible {
    outline: none;
}


