/*------------------------------
Reiseplaner 
-------------------------------*/
#steps-wrapper {
border: none;
}

#reiseplaner .container {
    padding: 30px 0;
    text-align: center;
}

@media only screen and (max-width: 767px) {
    .responsive #top #wrap_all #reiseplaner .container {
     width: 100%;
    max-width: 100%;
    }
}

@media only screen and (max-width: 989px) {
  #reiseplaner .container {
  width: 90%;
  }
}

@media only screen and (min-width: 1480px) {
  #reiseplaner .container {
  width: 70%;
  }
}


#reiseplaner .tab-content {
    min-height: 333px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media only screen and (min-width: 769px){
#reiseplaner .tab-content {

    padding: 30px;
}
}


#reiseplaner h3{
    font-size: 33px;
 margin-bottom: 3rem;
}

#reiseplaner .child-age-input label span  {
        font-size: 16px;
        font-weight: bold;
        color: #702F00;
    }

/* Tooltip icon */
#reiseplaner .info-icon {
    display: inline-block;
    margin-left: 0.25em;
    cursor: pointer;
    font-size: 22px;
    vertical-align: text-top;
    position: relative; 
}


/* Tooltip */
#reiseplaner .info-icon::after {
    content: attr(data-tooltip);
    display: none;
    position: absolute;
    left: 0%;
    top: 100%;
    transform: translateX(-50%, 0);
    background: #fff;
    padding: 9px 16px;
    border-radius: 8px;
    white-space: pre-line;
    font-size: 14px;
    font-weight: normal;
    line-height: 1;
    font-family: Arial, sans-serif;
    min-width: 120px;
    text-align: center;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    pointer-events: none;
}

/* Tooltip anzeigen bei Hover oder Fokus */
#reiseplaner .info-icon:hover::after,
#reiseplaner .info-icon:focus::after {
    display: block;
}
/* Dreieck  */
#reiseplaner .info-icon::before {
    content: "";
    display: none;
    position: absolute;
    left: 60%;
    top: 80%;

    border-width: 0 10px 10px 10px;
    border-style: solid;
    border-color: transparent transparent #fff transparent;
    z-index: 11;
}

/* Dreieck anzeigen bei Hover oder Fokus */
#reiseplaner .info-icon:hover::before,
#reiseplaner .info-icon:focus::before {
    display: block;
}

#reiseplaner .wpcf7 {
    text-align: left;
}



#reiseplaner .wpcf7-form-control.wpcf7-submit {
float: right;
}












/*------------------------------
progress-bar
-------------------------------*/

.stepper-controls {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:1em;
}

@media only screen and (max-width:1280px) {
.stepper-controls {
      padding: 30px 30px 0 30px;
}
}


.progress-bar-wrapper {
    flex:1;
    width:100%;
    height:9px;
    background:#fff;
    border-radius:55px;
    overflow:hidden;
    position:relative;
    margin:0 5px;
}

.progress-bar {
    background: #702F00;
}

.stepper-controls .avia-button{
    color: #fff;
    border: none;
    border-radius: 55px!important;
}

.avia-button.steps-next{
    opacity: 0.25;
    transition: opacity 0.2s;
}

.avia-button.steps-next[style*="opacity: 1"]{
    opacity: 1;
}

/*------------------------------
Slider 
-------------------------------*/
.slider-container {
    margin: 1rem auto;
    box-sizing: border-box;

  min-height: 200px;
}

@media screen and (min-width: 769px) {
    .slider-container {
        max-width: 60%;
    }
}

   .slider-container .wert  {
    font-size: 2em;
    font-weight: bolder;
    padding-top: 2rem;
    padding-bottom: 1rem;
}

    .slider {
        -webkit-appearance: none;
        width: 100%;
        max-width: none!important;
        height: 8px;
        border-radius: 5px;
        background: #f0f0f0;
        outline: none;
        opacity: 0.7;
        transition: opacity 0.2s;
    }
    
    .slider:hover {
        opacity: 1;
    }
    
    /* Slider Inputs halbtransparent */
.slider-container input[type="number"] {
    opacity: 0.5;
    transition: opacity 0.2s;
}

/* Bei Hover und Focus volle Deckkraft */
.slider-container input[type="range"]:hover,
.slider-container input[type="range"]:focus,
.slider-container input[type="number"]:hover,
.slider-container input[type="number"]:focus {
    opacity: 1;
}

    .slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 25px;
        height: 25px;
        border-radius: 50%;
        background: #702F00;
        cursor: pointer;
    }
    
    .slider::-moz-range-thumb {
        width: 25px;
        height: 25px;
        border-radius: 50%;
        background: #702F00;
        cursor: pointer;
        border: none;
    }

    .min-max {
    display: flex;
    justify-content: space-between;
        padding: 0 10px;
    }
    

     .eintippen-wrapper {
        position: relative;
       display: flex;
    flex-direction: row;
    align-items: center;      
    gap: 0.5em;
}



.eintippen-wrapper label,
.eintippen-wrapper .einheit {
   
    white-space: nowrap;
    font-weight: normal!important;
}

.eintippen-wrapper input[type="number"] {
    width: auto !important;
    text-align: center;
    font-size: 1.1em;
    margin-bottom: 0!important;
    opacity: 0.25;
}
.eintippen-wrapper input[type="number"]:hover {
    opacity: 1;
}







/*------------------------------
Cards
-------------------------------*/
    .choice-cards {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
        text-align: center;
    }
    
    .choice-cards label {
        cursor: pointer;
        border: none;
        border-radius: 8px;
        transition: all 0.2s ease-in-out;
        position: relative;
        height: 120px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    }
    
    .choice-cards label span {
        display: block;
        font-size: 16px;
        font-weight: bold;
        color: #702F00;
        text-transform: uppercase;
        padding: 3px 6px;
    }
    
    .choice-cards label.selected {
        outline: 2px solid #702F00;
        outline-offset: 2px;
    }
    
    /* Card Selected: Icon statt '✔' */
.image-selector-container label.selected::after,
.choice-cards label.selected::after {
    content: "\e812";
    font-family: entypo-fontello;
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #702F00;
    color: white;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: normal;
}
    
    /* Step 2+ Image Selector Styling */
    .image-selector-container {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
        text-align: center;
    }
    
    .image-selector-container label {
        cursor: pointer;

        border: none;
        border-radius: 8px;
        transition: all 0.2s ease-in-out;
        position: relative;
        height: 120px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    }
    

    
    #top .image-selector-container span,
    #top .choice-cards.with-image span {
        display: block;
        font-size: 16px;
        font-weight: bold;
        color: #000;
        text-transform: uppercase;
        background-color: rgba(255, 255, 255, .8);
        padding: 3px 6px;
    
    }
    
    .image-selector-container label.selected {
        /* border-color: #702F00; */
        outline: 2px solid #702F00;
        outline-offset: 2px;
    }

    
    /* check icon*/
    .image-selector-container label.selected::after,
    .choice-cards label.selected::after {
        content: "\e812";
        font-family: entypo-fontello;
        position: absolute;
        top: -10px;
        right: -10px;
        background-color: #702F00;
        color: white;
        border-radius: 50%;
        width: 30px;
        height:30px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        font-weight: normal;
    }
    


/* Bei Hover und wenn ausgewählt */
.image-selector-container label:hover,
.choice-cards label:hover,
.image-selector-container label.selected,
.choice-cards label.selected {
      outline: 2px solid #702F00;
    outline-offset: 2px;
    border-color: #702F00 !important;
}

/* Einheitliches Label-Text-Design für alle Cards ohne Bild */
.image-selector-container label:not([style*="background-image"]) span,
#top .choice-cards label span {
    display: block;
    font-size: 16px;
    font-weight: bold;
    color: #702F00;
    text-transform: uppercase;
    background-color: rgba(255,255,255,0.75);
    padding: 3px 6px;
    border-radius: 4px;
}



/* Icon für ausgewählte Card */
.image-selector-container label.selected::after,
.choice-cards label.selected::after {
    content: "\e812";
    font-family: entypo-fontello;
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #702F00;
    color: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: normal;
}
    
  






/*------------------------------
Cards mit Bild
-------------------------------*/
.choice-cards.with-image {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;

}
.choice-cards.with-image label{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 120px;
    min-width: 180px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    cursor: pointer;
    background-color: #fff;
      margin: 0;
}

.choice-cards.with-image img {
    display: block;
    max-height: 60px;

}




/*------------------------------
Cards ohne Bild
-------------------------------*/
.image-selector-container label:not([style*="background-image"]),
.choice-cards label {
    background: #fff;
    color: #702F00;
    min-height: 80px;
    height: 80px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.5em;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 500;
    box-shadow: rgba(0, 0, 0, 0.08) 0px 2px 8px;
    border: 2px solid transparent !important;
    filter: none !important;
    transition: box-shadow 0.2s, opacity 0.2s;
    position: relative;
}





#reiseplaner hr {
    border:  solid #702f00;
    border-width: 0.05em;
}

/* Text in Hintergrundbildern - weiße Schrift */
#top .choice-cards.with-image label[style*="background-image"] span {
    color: #fff !important;
    background-color: rgba(112, 47, 0, .7) !important;
}



.choice-cards.with-image label[style*="background-image"] {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-color: transparent !important;
}


/*------------------------------
cf7 form
-------------------------------*/

 #reiseplaner .wpcf7-form  input[type="submit"] {
    color: #702F00;
    background-color: transparent;
}

/* Submit-Button wenn alle Pflichtfelder ausgefüllt */
#reiseplaner .wpcf7-form input[type="submit"].submit-ready {
    background-color: #702F00;
    color: #ead2c0;

}