.ccf-form {
    margin: 0 auto;
}

.ccf-form a{
    color:#fff;
    text-decoration: underline;
    transition: all .3s;
    display: inline-block;
}
.ccf-form a:hover{
    color:#fff;
    text-decoration: underline;
    transform: translateY(-3px);
}
.ccf-form.ccf-form-light a,
.ccf-form.ccf-form-light a:hover{
    color:#003A44;
}

.ccf-top{
    display: flex;
    justify-content: space-between;
}

.ccf-right{
    text-align: right;
}

.ccf-row {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom:48px;
    position:relative;
}

.ccf-col-50 {
    flex: 1 1 45%;
    min-width: 200px;
}

.ccf-col-100 {
    flex: 1 1 100%;
    min-width: 100%;
}

.ccf-form label {
    display: block;
    margin-bottom: 12px;
    padding-left:30px;
    color: #FFF;
    font-size: 26px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}
.ccf-form-light label{
    color: #003A44;
}

.ccf-form input[type="checkbox"]{
    position:absolute;
    width: 60px;
    height: 60px;
    opacity:0;
}

.ccf-form input[type="checkbox"]+label i {
    width: 60px;
    height: 60px;
    margin-right: 20px;
    vertical-align: middle;
    position: relative;
    top: 3px;
    content:"";
    display: block;
    float:left;
    background-color:#EDF7F9;
    border-radius: 35px 35px 35px 35px;
    overflow: hidden;
}
.ccf-form input[type="checkbox"]:focus+label i{
  outline: 2px solid #0073e6; /* Beispiel: blauer Fokus-Ring */
  outline-offset: 2px;
}
.ccf-form input[type="checkbox"]+label{
    padding-left:0px;
    display: flex;
    align-items: center;
}
.ccf-form input[type=checkbox]:checked+label i {
    background-color: var(--Shell-Yellow-200);
}
.ccf-form input[type=checkbox]:checked+label i:before {
    content: "";
    background: url(/wp-content/uploads/checkmark-grey-60px-icon.svg);
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}


.ccf-form input[type="text"],
.ccf-form input[type="email"],
.ccf-form input[type="tel"],
.ccf-form select,
.ccf-form textarea {
    width: 100%;
    padding: 18px 30px;
    border: 0px;
    border-radius: 71px;
    font-size: 26px;
    font-weight:500;
    color: #003A44;
    background-color: #EDF7F9;
}

.ccf-form input[type="text"]:user-invalid::placeholder,
.ccf-form input[type="email"]:user-invalid::placeholder,
.ccf-form input[type="tel"]:user-invalid::placeholder,
.ccf-form select:user-invalid::placeholder,
.ccf-form textarea:user-invalid::placeholder {
    color:#DD1D21;
    background-image:url(/wp-content/uploads/alert-red-circle-icon.svg);
    background-repeat:no-repeat;
    background-position:100% 8px;
}

.ccf-form select{
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    line-height: 40px;
}


.tco-leads-form .ccf-form select{
  color: #008192; /* Placeholder-Farbe */
}

.ccf-row .select-col:after{
    content:"";
    background-image: url(/wp-content/uploads/arrow-down-ocean-35px-icon.svg);
    background-repeat: no-repeat;
    background-size: 100%;
    width: 35px;
    height: 35px;
    border: 0px;
    bottom: 20px;
    right: 22px;
    position:absolute;
    pointer-events: none;
}

.ccf-form input[type="text"]::placeholder,
.ccf-form input[type="email"]::placeholder,
.ccf-form input[type="tel"]::placeholder,
.ccf-form textarea::placeholder {
    color: #008192;
}

.ccf-form textarea {
    resize: vertical;
    border-radius: 35px;
    padding: 28px 22px 18px 30px;
    align-items: flex-start;
}

.ccf-form .ccf-submit {
    display: inline-flex;
    padding: 9px 22px 11px 30px;
    align-items: center;
    gap: 6px;
    color: #00525E;
    font-size: 26px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    border:0px;
    cursor:pointer;
    border-radius: 31px;
    background: #FFF;
    transition: all .3s;
}
.ccf-form .ccf-submit:after{
    content: url(/wp-content/uploads/arrow-right-icon.svg);
    width: 24px;
}
.ccf-form .ccf-submit:hover{
    padding: 9px 20px 11px 33px;
    gap: 5px;
}

.ccf-form.ccf-form-light .ccf-submit {
    background: #003A44;
    color:#fff;
}
.ccf-form.ccf-form-light .ccf-submit:after{
    content: url(/wp-content/uploads/arrow-right-white-icon.svg);
}

.ccf-form .ccf-submit:focus {
    outline: 2px solid #222;
    outline-offset: 2px;
}

.ccf-form .ccf-error {
    padding: 4px 30px;
    border-radius: 30px;
    background: #EDF7F9;
    color: #DD1D21;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    margin-bottom:8px;
    display:none;
}

.ccf-privacy .ccf-error{
    margin-top:8px;
    padding:9px 30px;
}

.ccf-form .ccf-success {
    background: #e6f9ea;
    color: #317a3c;
    padding: 0.75rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.ccf-form .ccf-privacy {
    font-size: 0.95rem;
}

.ccf-form input[type="checkbox"] {
    margin-right: 0.5em;
}

.tco-range-container {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: sans-serif;
    color: white;
    z-index: 1;
    position: relative;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 75px; /* Der Rahmen */
    display: flex;
    align-items: center;
}

#tco_trucks {
    -webkit-appearance: none; /* Deaktiviert Chrome/Safari Standard */
    appearance: none;
    width: 100%;
    height: 75px;
    background: transparent;
    border: 2px solid white;
    border-radius: 40px;
    outline: none;
    margin: 0;
    padding: 0 10px; /* Deine 10px Einrückung */
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

#tco_trucks::-webkit-slider-runnable-track {
    height: 75px;
    background: transparent;
    border: none;
}



/* Der Thumb (Gelber Kreis/Rechteck) */
#tco_trucks::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 55px;
    height: 55px;
    background: #FFC600;
    cursor: pointer;
    border-radius: 50%;
    /* Zentrierung innerhalb des 75px hohen Tracks */
    margin-top: 10px; 
}

/* Der mitwandernde Wert */
#tco_trucks_value {
    position: absolute;
    width: 55px;
    height: 55px;
    line-height: 55px;
    text-align: center;
    color: #4A4A4A;
    font-weight: bold;
    z-index: 10;
    pointer-events: none;
    /* Vertikale Mitte erzwingen */
    top: 50%;
    transform: translateY(-50%);
}



.range-label {
    font-weight: bold;
    position:absolute;
    z-index: -1;
    font-size:26px;
}
.range-label.min{
    left:30px;
}
.range-label.max{
    right:30px;
}

@media(max-width: 768px){
    .range-label.min {
        left: 20px;
    }
    .range-label.max {
        right: 20px;
    }
    #tco_trucks{
        padding:0 3px;
    }
    #tco_trucks,
    #tco_trucks::-webkit-slider-runnable-track,
    .slider-wrapper{
        height: 50px; /* Der Rahmen */
    }
    #tco_trucks::-webkit-slider-thumb{
        width: 40px;
        height: 40px;
        margin-top: 5px;
    }
    #tco_trucks_value{
        width: 40px;
        height: 40px;
        font-size: 14px;
        line-height: 40px;
        top: 100%;
        transform: translateY(0%);
        color: #fff;
    }
}

/* --- FIREFOX (Moz) --- */
#tco_trucks::-moz-range-track {
    height: 75px;
    background: transparent;
    border: none;
}

#tco_trucks::-moz-range-thumb {
    width: 55px;
    height: 55px;
    background: #FFC600;
    cursor: pointer;
    border-radius: 50%;
    border: none; /* Wichtig: Firefox hat oft einen Standard-Border */
}
/* Fix für den "grauen" Hintergrund in Firefox beim Schieben */
#tco_trucks::-moz-range-progress {
    background-color: transparent;
}
/* --- SAFARI SPEZIAL --- */
/* Safari braucht manchmal einen kleinen Schubs für die vertikale Mitte */
@media not all and (min-resolution:.001dpcm) { 
    @supports (-webkit-appearance:none) {
        #tco_trucks::-webkit-slider-thumb {
            margin-top: 10px; 
        }
    }
}

@media (max-width: 980px) {
    .ccf-row {
        flex-direction: column;
        gap: 0;
    }

    .ccf-col-50,
    .ccf-col-100 {
        min-width: 100%;
    }
    .ccf-col-50:last-child{
        margin-top:48px;
    }
}
@media (max-width: 768px) {
    .range-label {
        font-size:18px;
    }
    .ccf-form input[type="checkbox"]+label i{
        width: 50px;
        height: 50px;
        margin-right: 20px;
    }
    .ccf-form label {
        font-size: 18px;
    }
    .ccf-form input[type="text"],
    .ccf-form input[type="email"],
    .ccf-form input[type="tel"],
    .ccf-form select,
    .ccf-form textarea {
        font-size: 18px;
        padding: 11px 30px 12px 30px;
    }
    .ccf-form .ccf-submit {
        font-size: 18px;
        padding: 8px 20px;
    }

    .ccf-form select {
        line-height: 27px;
    }
    .ccf-row{
        margin-bottom:30px;
    }
    .ccf-row .select-col:after{
        bottom: 10px;
    }
    .ccf-col-50:last-child {
        margin-top: 30px;
    }
    .ccf-form .ccf-error {
        padding: 8px 12px 5px 12px;
        font-size: 12px;
        line-height: 1em;
        height: 30px;
    }
    .ccf-form input[type="text"]:user-invalid::placeholder,
    .ccf-form input[type="email"]:user-invalid::placeholder,
    .ccf-form input[type="tel"]:user-invalid::placeholder,
    .ccf-form select:user-invalid::placeholder,
    .ccf-form textarea:user-invalid::placeholder {
        background-position:100% 1px;
    }
    .ccf-form .ccf-submit:after {
        margin-bottom: -5px;
    }
}

.tco-leads .tco-leads-col{
    display:flex;
    flex-direction:row;
    gap:clamp(40px, 7vw, 130px);
}
.tco-leads-preview,
.tco-leads-form{
    width: 50%;
}


.tco-chart-bg{
    background:rgba(0, 151, 169, 0.20);
    border-radius:20px;
    padding:100px 80px;
    position: relative;
    width: 100%;
}
.tco-leads-preview canvas{
    transition: all .3s ease;
}
/* .tco-leads-preview.disabled canvas{
    filter:blur(10px);
} */

@media(max-width:980px){
    .tco-leads .tco-leads-col{
        flex-direction:column;
    }
    .tco-leads-preview,
    .tco-leads-form{
        width: 100%;
    }
    .tco-chart-bg{
        padding:25px 20px;
    }
}
#tcoinfo{
    color:#fff;
    text-decoration: underline;
    transition: all .3s;
    display: inline-block;
    cursor:pointer;
}
body.tco-modal-open{
    overflow:hidden;
}
.tcomodal{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,129,149,0.5);
    z-index: 100000;
    justify-content: center;
    visibility: hidden; /* Statt display: none */
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s;
    overflow-y: auto;
    inset: 0;
    padding: 50px 20px;
    pointer-events: none;
}

.tcomodal.active{
    display:flex;
    visibility: visible;
    opacity: 1;
    pointer-events:all;
    backdrop-filter: blur(10px);
     -webkit-backdrop-filter: blur(10px);
}
.tcomodal > div{
    margin: auto;
    background:#fff;
    border-radius:35px;
    padding:50px;
    max-width: 600px;
    width: 100%;
    position:relative;
}
.tcomodal.bottom-reveal{
    padding: 50px 0px 0 0px;
    overflow: auto;
}

.tco-leads-bottom-content{
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: 40px;
    color:#fff;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
}
.tco-leads-bottom-content h3{
    font-size: 30px;
    font-style: normal;
    font-weight: 600;
    line-height: 44px; /* 146.667% */
    letter-spacing: -0.3px;
    color:#fff;
}

.tcomodal.bottom-reveal > div{
    margin: auto auto 0 auto;
    background:#EDF7F9;
    border-radius:50px 50px 0 0;
    padding:80px 80px 80px 160px;
    max-width:  100%;
    width: 100%;
    position:relative;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}
.tcomodal.bottom-reveal.active > div{
    transform: translateY(0);
}

#tcoproform.tcomodal.bottom-reveal > div{
    border-radius: 50px 50px 0 0;
    background-image: linear-gradient(180deg, rgba(0, 151, 169, 0.00) 63.67%, #0097A9 100%), linear-gradient(296deg, #0097A9 8.08%, #006B7B 99.65%);
    background-position: -500% -600%, center center, center center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color:#fff;
}
.tcomodal.bottom-reveal > div:after{
    content:"";
    background-image: url("/wp-content/uploads/Plus-Graphic.webp");
    background-size: inherit;
    position: absolute;
    bottom: 0px;
    right: 0px;
    width: 800px;
    height: 350px;
    z-index: -1;
}
.tcomodal > div h2{
    color:#0097A9;
    font-size:  55px;
    font-weight: 500;
    line-height: 75px; /* 136.364% */
    margin-bottom: 20px;
}

.tco-modal-intro{
    color:#0097A9;
    font-size: 30px;
    font-weight: 500;
    line-height: 46px; /* 153.333% */
    letter-spacing: -0.3px;
    margin-bottom:60px;
}
.tco-modal-two-col{
    display:flex;
    gap: 20px;
}
.tco-modal-two-col > div{
    flex:1;
}
#tcoproform.tcomodal.bottom-reveal > div h2{
    color:#fff;
    font-size: 55px;
    font-style: normal;
    font-weight: 600;
    line-height: 75px; /* 136.364% */
    letter-spacing: -0.55px;
}
.form-submit-col{
    display:flex;
    justify-content: right;
    align-items: end;
}

.tcomodal-close{
    position:absolute;
    top:80px;
    right:80px;
    width: 60px;
    height: 60px;
    background-color: rgba(192, 230, 236, 0.35);
    border-radius:31px;
    background-image: url(../img/close-light-icon.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 35px;
    cursor:pointer;
}
#tcoproform .tcomodal-close{
    background-color:#00525E;
    background-image: url(../img/close-icon.svg);
}

.tco-leads-bottom{
    border-radius: 20px;
    background: #FFC600;
    margin-bottom:-95px;
    margin-top: 100px;
    margin-inline: auto;
    width: max-content;
    gap:20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    overflow: hidden;
    padding: 32px 30px;

}
.tco-leads-bottom h3{
    font-size: 30px;
    font-style: normal;
    font-weight: 500;
    line-height: 46px; /* 153.333% */
    letter-spacing: -0.3px;
    padding-bottom:0;
    
}
.chart-info-text-mobile{
    display:none;
}
.chart-info-text-mobile,
.chart-info-text{
    color:#EDF7F9;
    font-family: 'ShellMedium', sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 30px; /* 166.667% */
    letter-spacing: -0.18px;
}
.tco-report-container .chart-info-text{
    color:#4A4A4A;
    max-width: 1900px;
    width: 90%;
    margin: 0 auto;
}
.tco-report-container .chart-info-text #tcoinfo{
    color:#008192;
}
.tco-leads-bottom .tco-leads-bottom-image{
    width:60px;
    height:60px;
    background:url(../img/sbrs-icon-reporting.svg);
    background-size: cover;
    
}
@media(max-width:768px){
    .tco-leads-bottom{
        margin-bottom:20px;
        margin-top: 10px;
        width: 100%;
        gap: 10px;
        padding: 15px;
    }
    .tco-leads-bottom h3 {
        font-size: 12px;
        line-height: 16px;
        letter-spacing: 0px;
        flex:1
    }
    #tcoproform.tcomodal.bottom-reveal > div,
    .tcomodal.bottom-reveal > div{
        padding: 80px 20px 80px 20px;
        border-radius: 20px 20px 0 0;
        font-size: 14px;
        line-height: 20px; /* 142.857% */
        letter-spacing: -0.14px;
    }
    #tcoproform.tcomodal.bottom-reveal > div h2,
    .tcomodal > div h2{
        font-size:  26px;
        line-height: 36px; /* 136.364% */
        letter-spacing: -0.26px;
    }
    .tco-modal-intro {
        font-size: 18px;
        line-height: 26px; /* 144.444% */
        letter-spacing: -0.18px;
        margin-bottom:30px;
    }
    .tcomodal-close{
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        background-size: 24px;
    }
    #tco-calculate{
        width: 30px;
        padding: 0 !important;
        height: 0;
        border: 0;
        color: transparent;
        font-size: 0px;
    }
    #tco-calculate:after{
        left: unset;
        right: 0;
        width: 30px;
        height: 30px;
        box-sizing: border-box;
    }
    .chart-info-text-mobile,
    .chart-info-text{
        display:none;
        font-size: 14px;
        line-height: 20px; /* 142.857% */
        letter-spacing: -0.14px;
    }
    .chart-info-text-mobile{
        display:block;
    }
    .tco-leads-bottom-content {
        font-size: 12px;
        line-height: 16px;
        padding: 40px 40px 32px 40px;
    }
    .tco-leads-bottom-content h3 {
        font-size: 12px;
        font-style: normal;
        font-weight: 600;
        line-height: 16px; /* 133.333% */
        letter-spacing: 0px;
    }
    .tco-leads-bottom .tco-leads-bottom-image{
        width:40px;
        height:40px;
    }
    .tco-leads-bottom .tco-leads-bottom-image img{
        height: 100%;
        object-fit: cover;
        object-position: center right;
    }
    .tco-leads-bottom .tco-leads-bottom-content{
        margin-left:-20%;
        width: 70%;
    }
}