/* Erste Zeile → Text und Bild nebeneinander */
.zeile1:after {
    content: "";
    display: block;
    clear: both;
}

/* Linke Text-Spalte */
/* Linke Text-Spalte */
#text-blog {
    float: left;
    width: 50%;
}

/* Rechte Bild-Spalte */
#bilder-anzeige {
    float: right;
    width: 50%;
    position: relative;
    min-height: 150px;
    text-align: right;
}


/* Bilder stapeln */
#bilder-anzeige img {
    width: 100%;
    max-width: 600px;     /* NEU: max. 450px */
    height: auto;
    display: none;
    position: absolute;
    top: 0;
    right: 0;             /* bleibt rechts */
    left: auto;
}
.bs-stepper-header {
    padding-bottom: 15px;
}
/* sichtbares Bild */
/*#bilder-anzeige img#l,
#bilder-anzeige img#l0,
#bilder-anzeige img#d0,
#bilder-anzeige img#l1,
#bilder-anzeige img#l2,*/
#bilder-anzeige img#normal {
    display: block;
    position: relative;  /* Container bekommt Höhe */
    margin-left: auto;   /* Absicherung: immer rechts */
}
div#bilder-anzeige {
    min-height: 275px;
}
#bilder-anzeige img.is-hidden {
    display: none;
}
#bilder-anzeige img.is-visible {
    display: block;
}
/* Responsive */
@media (max-width: 1200px) {
    div#bilder-anzeige {
        min-height: 225px;
    }
}
@media (max-width: 1000px) {
    div#col-aderquerschnitt {
        width: 75%;
    }
    div#col-stueckzahl {

        width: 25%;
    }
}
/* Responsive */
@media (max-width: 992px) {
    div#bilder-anzeige {
        min-height: 190px;
    }
}

@media (max-width: 768px) {
    div#anfrage-formular  .step-row {
        margin-bottom: 0px;
    }

    div#col-aderquerschnitt {
        width: 100%;
    }
    div#col-stueckzahl {

        width: 100%;
    }
    #bilder-anzeige img#l,
    #bilder-anzeige img#l0,
    #bilder-anzeige img#d0,
    #bilder-anzeige img#l1,
    #bilder-anzeige img#l2,
    #bilder-anzeige img#normal,
    #bilder-anzeige img {
        position: absolute;
        right: auto;
        left: 0;
    }
    div#bilder-anzeige {
        min-height: 250px;
    }
    #text-blog,
    #bilder-anzeige {
        float: none;
        width: 100%;
    }
}
@media (max-width: 612px) {

    .bs-stepper .line, .bs-stepper-line {
        min-height:4px;
    }
    div#bilder-anzeige {
        min-height: 225px;
    }
}
@media (max-width:575px) {
    div#bilder-anzeige {
        min-height: 200px;
    }
}
@media (max-width: 375px) {
    div#bilder-anzeige {
        min-height: 145px;
    }
    span.bs-stepper-label {
        font-size: 0.75rem;
    }
}
/* Überschriften – sichtbar */
#text-blog h1 {
    font-size: 1rem;
    margin-top: 0;
    text-transform: none;
    font-weight: bold;
    line-height: 1.2;
    padding-bottom: 0;
}

#text-blog h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.active .bs-stepper-circle {
    background-color: #007bff;
}


/* danke */
.danke-wrapper {
    text-align: center;
    padding: 40px 20px;
}

.danke-wrapper h3 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.danke-wrapper p {
    font-size: 1.2rem;
    color: #444;
}

.step1-grid {
    width: 100%;
}

.step1-col {
    float: left;
    width: 50%;
    box-sizing: border-box;
    padding: 0 15px 25px;
}

.step1-col label {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
}

.step1-col input[type=range] {
    width: 100%;
}
/* Checkbox grün statt blau */
input[type="checkbox"] {
    accent-color: #002C03; /* ruhig, professionelles Grün */
}

.error {
    min-height: 1.2em;
    height: 30px;
    display: block;
    margin-top: 4px;
    color: #d00;
    font-size: 0.875rem;
}
.clear {
    clear: both;
}

.regler-skala {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #666;
    margin-top: 6px;
    padding: 0 6px;
    pointer-events: none;
}


/* Mobil */
@media (max-width: 768px) {
    .step1-col {
        width: 100%;
        padding: 0 0 25px;
    }
}


/* WebKit (Chrome, Edge, Safari) */
input[type=range]::-webkit-slider-thumb {
    background: #002c03;
    border: none;
}

input[type=range]::-webkit-slider-runnable-track {
    background: #ccc;
}

input[type=range] {
    accent-color: #002c03;
}

/* Firefox */
input[type=range]::-moz-range-thumb {
    background: #002c03;
    border: none;
}

input[type=range]::-moz-range-progress {
    background: #002c03;
}

input[type=range]::-moz-range-track {
    background: #ccc;
}

/* Edge / IE (falls relevant) */
input[type=range]::-ms-thumb {
    background: #002c03;
    border: none;
}

input[type=range]::-ms-fill-lower {
    background: #002c03;
}

input[type=range]::-ms-fill-upper {
    background: #ccc;
}
.active .bs-stepper-circle {
    background-color: #002c03;
}

#anfrage-formular button#ftb-submit,
#anfrage-formular button.btn.btn-primary ,
#anfrage-formular #ftb-step1-next.btn.btn-primary {
    appearance: none;
    background-color: #002c03;
    color: #ffffff;
    border: 2px solid #002c03;
    border-radius: 200px;
    padding: 10px 24px;
    font-size: 14px;
    cursor: pointer;
    box-shadow: none;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
#anfrage-formular button#ftb-submit:hover ,
#anfrage-formular button.btn.btn-primary:hover  ,
#anfrage-formular #ftb-step1-next.btn.btn-primary:hover {
    background-color: #ffffff;
    color: #002c03;
    border-color: #002c03;
}

#anfrage-formular #ftb-step1-next.btn.btn-primary:focus {
    outline: none;
}

.bs-stepper .step-trigger:focus {
    color: #002c03;
    outline: 0;
}
/* step2 */
.step2-row {
    margin-bottom: 24px;
}

.step2-col {
    float: left;
    width: 50%;
    box-sizing: border-box;
    padding-right: 15px;
}

.step2-col:last-child {
    padding-right: 0;
}

.step2-col label {
    display: block;
    font-weight: bold;
    margin-bottom: 4px;
}

.step2-col input {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid #333;
    background: #ffffe6;
    box-sizing: border-box;
}

.clear {
    clear: both;
}

/* Mobil */
@media (max-width: 768px) {
    .step2-col {
        width: 100%;
        padding-right: 0;
        margin-bottom: 12px;
    }
}

/* radio */
.radio-buttons {
    display: block;          /* neue Zeile */
    white-space: nowrap;     /* alles in einer Zeile */
    padding-top: 6px;
}
.step-col .radio-buttons input[type="radio"]{
    width: auto;
}
/* Radio + Text inline */
.radio-buttons input[type="radio"] {
    display: inline-block;
    vertical-align: middle;
    margin-right: 4px;
    accent-color: #000;      /* schwarz */
}

/* Abstand zwischen axial und radial */
.radio-buttons input[type="radio"] + input[type="radio"] {
    margin-left: 16px;
}

.radio-buttons input[type="radio"] {
    width: auto;
}
/* step */
.step-row {
    margin-bottom: 24px;
}

.step-col {
    float: left;
    width: 50%;
    box-sizing: border-box;
    padding-right: 15px;
}

.step-col:last-child {
    padding-right: 0;
}

.step-col label {
    display: block;
    font-weight: bold;
    margin-bottom: 4px;
}

.step-col input {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid #333;
    background: #ffffe6;
    box-sizing: border-box;
}

.step-clear {
    clear: both;
}

/* Mobil */
@media (max-width: 768px) {
    .step-col {
        width: 100%;
        padding-right: 0;
        margin-bottom: 12px;
    }
}


.slider-wrap {
    width: 100%;
}

.form-range {
    width: 100%;
    margin: 0;
}

.regler-skala {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    margin-top: 6px;
    font-size: 14px;
    color: #555;
    text-align: center;
    pointer-events: none;
}

.step-col input:not([type="range"]) {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid #333;
    background: #ffffe6;
    box-sizing: border-box;
}
input#aderquerschnitt {
    padding-left: 0;
    padding-right: 0;
    border: none;
}

/* Disabled Button: optisch gedimmt, keine Interaktion, kein Fokus */
/* Step-Buttons (Step 1 + Step 2) – disabled: keine Interaktion, gedimmt */
#anfrage-formular #ftb-step1-next.btn.btn-primary:disabled,
#anfrage-formular #ftb-step2-next.btn.btn-primary:disabled {
    opacity: 0.8;
    pointer-events: none;
    cursor: not-allowed;
}

/* Kein Fokus / Hover / Active, wenn disabled */
#anfrage-formular #ftb-step1-next.btn.btn-primary:disabled:focus,
#anfrage-formular #ftb-step1-next.btn.btn-primary:disabled:hover,
#anfrage-formular #ftb-step1-next.btn.btn-primary:disabled:active,
#anfrage-formular #ftb-step2-next.btn.btn-primary:disabled:focus,
#anfrage-formular #ftb-step2-next.btn.btn-primary:disabled:hover,
#anfrage-formular #ftb-step2-next.btn.btn-primary:disabled:active {
    outline: none;
    box-shadow: none;
}
#anfrage-formular #ftb-demo-button2 ,
#anfrage-formular #ftb-demo-button {
    opacity: 0.4;
    font-size: 0.85rem;
    padding: 4px 8px;
}

#anfrage-formular #ftb-demo-button2:hover,
#anfrage-formular #ftb-demo-button2:focus,
#anfrage-formular #ftb-demo-button:hover,
#anfrage-formular #ftb-demo-button:focus {
    opacity: 0.55;
}
#ftb-step-2 .step-col label.required::after ,
#ftb-step-1 .step-col label.required::after {
    content: " *";
    color: #d00;
    font-weight: bold;
}

p.step-hinweis {
    padding-bottom: 0;
}

.hinweis-text {
    padding-bottom: 30px;
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.step-col.volle-beite {
    float: left;
    width: 100%;
    box-sizing: border-box;
    padding-right: 15px;
}
input#einverstaendnis {
    width: auto;
    color: #000;
}
div#ftb-stepper span.checkbox-text {
    color: #000;

}

#ftb-result.ftb-success {
}
#ftb-result.ftb-error   {
}
#ftb-result.ftb-info    {
}

/* Skala: 10 gleiche Spalten */
.regler-skala{
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 0;
  margin-top: 6px;
  font-size: 14px;
  color: #555;
  pointer-events: none;
  padding: 0 8px;            /* links/rechts etwas Luft */
  margin-right: -8px;
}

.regler-skala span{
  white-space: nowrap;
}

/* 1–3 linksbündig */
#schritt-1 { text-align: left; }
#schritt-2 { text-align: left; }
#schritt-3 { text-align: left; padding-left: 10%; }

/* 4–6 mittig */
#schritt-4 { text-align: left; padding-left: 26%; }
#schritt-5 { text-align: center; }
#schritt-6 { text-align: center;     padding-left: 20%; }

/* 7–10 rechtsbündig */
#schritt-7  { text-align: right; padding-right: 15%;}
#schritt-8  { text-align: right; padding-right: 5%;}
#schritt-9  { text-align: right; }
#schritt-10 { text-align: right; }


@media (max-width: 425px) {
    .regler-skala {
        font-size: 12px;
    }
        div#bilder-anzeige {
        min-height: 175px;
    }
}
@media (max-width: 375px) {
    .regler-skala {
        font-size: 11px;
        color: #000;
    }
}
