﻿p {
    margin: 0;
}

body.no-scroll {
    overflow: hidden;
}
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

.popup-overlay, 
.popup-overlay * {
    font-family:'Roboto', Geneva, Verdana, sans-serif !important;
    line-height: 26px;
}

/* Popup Overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}



/* Popup Inhalt */
.popup-content {
    background: white;
    padding-top: 28px;
    border-radius: 8px;
    width: 100%;
    height: 100vh;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.3s ease, transform 0.3s ease;
    overflow-y: scroll;

}
#schrittanzeige{
    font-size: 13px;
}
.schritte-ubersicht{
    display:flex;
    font-size:10px;
    font-weight: 500;
    margin-bottom: 1px;
    justify-content: space-between;
}

/* Media Query für kleinere Bildschirme */
@media (min-width: 480px) {
    .schritte-ubersicht{
        font-size:13px;
    }
}

.popup-header{
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Header mit Schließen-Button */
.header-r1,
.header-r2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-weight: 500;
}
.header-r2{
    margin-top: 16px;
    gap:24px;
    margin-bottom: 28px;
}



.close-btn {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #333;   
    position: absolute;
    right: 40px; /* Oder weiter nach rechts, je nach gewünschter Optik */
    top: 28px;
}

.close-btn:hover {
    background-color: white;
    color:black;
}


/* Media Query für kleinere Bildschirme */
@media (max-width: 480px) {
    .form-options {
        grid-template-columns: repeat(2, 1fr);
        /* Auch auf mobilen Geräten 2 Kacheln pro Zeile */
    }
}

/* Buttons */
button {
    padding: 10px;
    cursor: pointer;
    border: none;
    border-radius: 4px;
}



.next-btn,
.submit-btn {
    background-color: #333;
    color: white;
        border: none;
    margin-left: auto;
    margin-right: auto;
    border-radius: 200px;
}
.submit-btn{
    padding:8px 16px;

}
.next-btn, .prev-btn, .submit-btn{
    display: flex;                /* Flexbox aktivieren */
    justify-content: center;      /* Horizontale Zentrierung */
    align-items: center;          /* Vertikale Zentrierung */
}

.spec-next-btn{
    width: calc(100% - 40px); /* Button nimmt volle Breite des Bildschirms ein */
    padding: 12px;
    font-size: 16px;
    background-color: #0066cc;
    color: white;
    border: none;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    z-index: 10; /* Sicherstellen, dass der Button immer oben bleibt */
    margin-top: 40px;

}
.spec-next-btn{
    background-color: #004b99;


}

.next-btn:disabled,
.submit-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.prev-btn {
    color: black;
    background-color: #ddd;
    border-radius: 200px;
    border:none;
}

.prev-btn:hover,
.next-btn:hover:not(:disabled),
.submit-btn:hover:not(:disabled) {
    opacity: 0.8;
    background-color: #666;
}

.next-btn:focus:not(:disabled),
.submit-btn:focus:not(:disabled),
.next-btn:active:not(:disabled),
.submit-btn:active:not(:disabled) {
    background-color: #333;
    color: white;
}


.prev-btn:active,
.prev-btn:focus {
    color: black;
    background-color: #ddd;
}


.step-heading {
    font-size: 1.4em;
    margin-bottom: 56px;
    font-weight: 600;
}
.progress-container-container{
    width:80%;
    margin-top:20px;
}

.progress-container {
    width: 100%;
    height: 5px;
    background-color: #ddd;
    border-radius: 5px;
    overflow: hidden;
}

progress {
    width: 100%;
    height: 400%;
    appearance: none;
    /* Entfernt Browser-Standard-Styles */
    z-index: 20;
}

progress::-webkit-progress-bar {
    background-color: #ddd;
}

progress::-webkit-progress-value {
    background-color: #4caf50;
    /* Farbe der Fortschrittsanzeige */
    z-index: 20;
}

progress::-moz-progress-bar {
    background-color: #4caf50;
}

.form-slider{
    display:flex;
    transition: transform 0.5s ease; /* 👈 hier ist die Magie */
    position: relative; /* Wichtig für das Steuern von Elementen innerhalb des Containers */
}
.slider-container{
    width: 100%;
    overflow: hidden; /* Verhindert horizontales Scrollen im Haupt-Container */
    position: relative;
}
/* Setze eine feste Höhe für .form-step */
.form-step {
    flex: 0 0 100%;
    width: 60%;
    padding:0px 0px;
    box-sizing: border-box;}

    .form-step > .inner {
        max-width: 800px;
        width: 100%;
        margin: 0 auto;
        padding: 0 5vw;
        padding-top:16px;
        box-sizing: border-box;
      }
      .form-options {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 2 Spalten */
        gap: 20px;
        max-width: 600px; /* Etwas breiter für größere Bildschirme */
        margin: 0 auto;
        justify-items: center;
        align-items: center;
    }
   
    .option {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        border-radius: 15px; /* Moderner, größerer Radius */
        transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
        width: 156px;
        height: 192px; /* Feste Höhe für einheitliche Karten */
        padding: 12px;
        background-color: #fff;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); /* Sanfter Schatten */
        overflow: hidden;
        position: relative;
        will-change: transform, box-shadow; /* Für bessere Performance bei Animationen */
    }
   
    .form-options label.option:nth-of-type(2n+1) {
        justify-self: end;
    }

    .form-options label.option:nth-of-type(2n+2) {
        justify-self: start;
    }
  
    
    /* Verstecke den Radio-Button */
    .option input {
        display: none;
    }
    
    /* Bild in der Option */
    .option img {
        width: 100px;
        height: auto;
        margin-bottom: 12px;
        transition: transform 0.3s ease;
    }
         /* Bild in der Option */
         .option-delivery img {
            width: 80px;
            height: auto;
            margin: 12px;
            transition: transform 0.3s ease;
        }
    
    
    .option span {
        font-size: 14.5px;
        font-weight: 500;
        color: #333;
        background-color: #f4f4f4;
        padding: 8px;
        border-radius: 10px;
        text-align: center;
        width: 100%;
        display: block;
        transition: background-color 0.3s ease;
    }
    
    /* Hover-Effekte */
    .option:hover {
        transform: translateY(-5px); /* Kleine Erhöhung beim Hover */
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); /* Deutlicherer Schatten */
    }
    
    .option:hover img {
        transform: scale(1.1); /* Leichtes Vergrößern des Bildes beim Hover */
    }
    
    .option:has(> input:checked) {
        background-color: #eef7ff; /* Sanfter Hintergrund bei Auswahl */
        border: 2px solid #0066cc; /* Blaue Umrandung bei Auswahl */
        box-shadow: 0 8px 30px rgba(0, 102, 204, 0.2); /* Stärkerer blauer Schatten */
    }
    
    /* Hover für Text */
    .option span:hover {
        background-color: #e0e0e0; /* Hintergrund ändert sich bei Hover */
    }


.kitchen-vogel-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    margin-bottom:20px;
    background-color: #ebebeb;
    border-radius: 8px;
    border: solid 0.5px #ccc;
    max-width: 380px; /* Einheit ergänzt */
    width: 100%;
}

.kitchen-vogel-container img {
    width: 192px;
    height: auto;
    max-width: unset; /* Damit width: auto wirklich greifen kann */
    object-fit: contain; /* Wichtig für Safari! */
    display: none;
    margin:16px;
}
.measure-input-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 Spalten */
    gap: 16px;
    padding: 16px;
    background-color: #f8f8f8; /* Dezentes Hellgrau für Modernität */
    border-radius: 8px;
    max-width: 400px;
    margin: auto;
}
.form-measure {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    border-radius: 8px;
    background-color: #ffffff; /* Weiß für einen cleanen Look */
    font-size: 16px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    position: relative; /* Erlaubt feine Akzentlinien */
}


.form-measure label {
    font-weight: bold;
    color: #333;
}
/* Einheitliches Styling für Inputs */
.form-measure input[type="number"] {
    width: 72px;
    padding: 2px 8px;
    font-size: 16px;
    border-radius: 4px;
    text-align: right;
    border: 1px solid #d1d1d1;
    background-color: #fdfdfd;
    outline: none;
    transition: all 0.2s ease-in-out;
}




/* Fokus-Effekt für eine edle Optik */
.form-measure input[type="number"]:focus {
    border-color: #666;
}

.cm {
    font-size: 14px;
    color: #777;
}


/* Dezente Farbakzente als Linie links */
.measure-a::before,
.measure-b::before,
.measure-c::before,
.measure-d::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    border-radius: 4px;
}

.measure-a::before {
    background-color: #01892F; /* Grün */
}

.measure-b::before {
    background-color: #890101; /* Rot */
}

.measure-c::before {
    background-color: #266ED9; /* Blau */
}

.measure-d::before {
    background-color: #B87921; /* Orange */
}





.window-input-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    background-color: #f8f8f8;
    border-radius: 12px;
    max-width: 450px;
    margin: auto;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}
fieldset {
    border: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2-Spalten Layout */
    gap: 12px;
}


/* Checkbox-Kacheln */
.form-fenster, .form-schraenke {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    position: relative;
    border: 1px solid #ddd;
    background-color: #fff;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.05);
}

/* Hover- & Active-Effekte für die Checkbox-Kacheln */
.form-fenster:hover, .form-schraenke:hover {
    background-color: rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}
/* Dezente Farbakzente (passend zu den vorherigen Inputs) - Weniger grell */
.fenster-a, .schraenke-a {
    border-color: #01892F;
    background-color: rgba(1, 137, 47, 0.1); /* Dezenter Grünton */
}
.fenster-b, .schraenke-b {
    border-color: #890101;
    background-color: rgba(137, 1, 1, 0.1); /* Dezentes Rot */
}
.fenster-c, .schraenke-c {
    border-color: #266ED9;
    background-color: rgba(38, 110, 217, 0.1); /* Dezentes Blau */
}
.fenster-d {
    border-color: #B87921;
    background-color: rgba(184, 121, 33, 0.1); /* Dezentes Gelb */
}

/* Innerer Container für den Text */
.form-fenster-inner-container {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #333;
}

/* Stil für die Checkbox (Standard) */
.window-input-container input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #888;
    border-radius: 4px;
    background-color: #fff;
    transition: all 0.3s ease-in-out;
    position: relative;
    cursor: pointer;
}

/* Checkbox "ausgewählt" - passender Akzent pro Wand (dunklere Farbe, minimalistisch) */
.fenster-no input[type="checkbox"]:checked, .schraenke-no input[type="checkbox"]:checked  {
    background-color: #333;
    border-color: #333;
}

/* Checkbox "ausgewählt" - passender Akzent pro Wand (dunklere Farbe, minimalistisch) */
.fenster-a input[type="checkbox"]:checked, .schraenke-a input[type="checkbox"]:checked  {
    background-color: #01892F;
    border-color: #01892F;
}
.fenster-b input[type="checkbox"]:checked, .schraenke-b input[type="checkbox"]:checked  {
    background-color: #890101;
    border-color: #890101;
}
.fenster-c input[type="checkbox"]:checked, .schraenke-c input[type="checkbox"]:checked {
    background-color: #266ED9;
    border-color: #266ED9;
}
.fenster-d input[type="checkbox"]:checked {
    background-color: #B87921;
    border-color: #B87921;
}






/* Markierung des Kontrollkästchens (Haken-Symbol) */
.window-input-container input[type="checkbox"]:checked::after {
    content: "✔";
    font-size: 14px;
    color: white;
    position: absolute;
    left: 3px;
    top: -5px;
}
/* Häkchen für die 'Nein'-Option */
#form-fenster-no input[type="checkbox"]:checked::after,  #form-schraenke-no input[type="checkbox"]:checked::after{
    content: "✔";
    font-size: 14px;
    color: white;
    position: absolute;
    left: 3px;
    top: -5px;
}

/* "Nein"-Option besonders hervorheben */
#form-fenster-no, #form-schraenke-no {
    grid-column: span 2;
    background-color: #f0f0f0;
    border: 2px solid #ccc;
    font-weight: bold;
    margin-bottom:12px;
}

#form-fenster-no:hover, #form-schraenke-no:hover {
    background-color: #e0e0e0;
}

/* Standardmäßig alle Wände verstecken außer "Nein" */
.form-fenster:not(#form-fenster-no), .form-schraenke:not(#form-schraenke-no) {
    display: none;
}






.intro-text {
    font-size: 0.85em;
    color: #555;
    margin-bottom: 20px;
    margin-top:-20px;
    text-align: center;
}

/* Preisbox */
.price-box {
    background-color: #f7f7f7;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    text-align: center;
}

.price-box h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #01892F;
}

.price-box p {
    font-size: 15px;
    line-height: 18px;
    margin-bottom: 16px;
}
.price-highlight {
    font-size: 1.8em;
    font-weight: bold;
    color: #01892F;
    margin-top: 10px;
}

.fineprint {
    font-size: 12px;
    color: #777;
    margin-top: 5px;
    line-height: 18px;
}

#trust-text{
    text-align: left;
    line-height: 20px;
    font-size: 14px;;
}

#contact-form h3 {
    margin-top:28px;
    margin-bottom:16px;
    font-size: 22px;
    font-weight: 600;
}
/* Formular und Eingabefelder */
#contact-form label {
    display: block;
    height: 0;
    font-size: 0em;
}

#contact-form input, #contact-form textarea {
    width: 100%;
    padding: 7px;
    font-size: 0.9em;
    border: 2px solid #ccc;
    border-radius: 8px;
    margin-top: 6px;
    box-sizing: border-box;
    margin-bottom:6px;
}

#contact-form textarea {
    height: 120px;
}


/* CTA-Container */
.cta-container {
    text-align: center;
    margin-top: 0px;
}

.cta-text {
    font-size: 15px;
    margin-bottom: 15px;
    color: #555;
    line-height: 20px;
}

/* CTA-Button */
.cta-button {
    background-color: #01892F;
    color: white;
    padding: 15px 25px;
    font-size: 1.2em;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.cta-button:hover {
    background-color: #016f23; /* Dunklerer Grünton */
}

/* Submit Button */
.submit-btn {
    background-color: #01892F;
    color: white;
    padding: 15px 25px;
    font-size: 1.125em;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    margin-top: 20px;
    width: 100%;
    display: block;
}

.submit-btn:hover {
    background-color: #016f23;
}

/* Aktivierung des Submit-Buttons */
.submit-btn:disabled {
    background-color: #ddd;
    cursor: not-allowed;
}

/* Trust-Badge */
.trust-badge {
    font-size: 0.8em;
    color: #888;
    text-align: center;
    margin-top: 12px;
    font-style: italic;
    margin-bottom:108px;
}
#nextButton, #prevButton{
    padding: 8px !important;

}



.image-smaller{
    width:168px !important;
}


@media (max-width: 550px) {
    .close-btn {
        top: 4px;
    }
    .progress-container-container{
        margin-top:12px;
    }

    .header-r2{
        margin-top:12px;
        margin-bottom: 0px;

    }
    .step-heading{
        font-size: 1.1em;
        line-height: 22px;
        margin-bottom: 20px;
        font-weight: 600;

    }
    .form-options{
        gap:12px 12px;
    }
    .spec-next-btn{
        margin-top: 28px;
    }
    #schrittanzeige{
        font-size: 12px;
    }


}

@media (min-width: 550px) {
 .kitchen-vogel-container img{
    width:228px;
    margin:32px;
 }

 .form-options{
    gap:44px;
 }
 .option{
    width: 240px;
    height:260px;
 }

.option img{
    width:140px;
    margin-bottom: 28px;
}

.option-delivery img{
    width:100px;

}
 /* Text im span */
.option span {
    font-size: 18px;
   padding:16px;
   font-weight: 600;
}
.image-smaller{
    width:192px !important;
}

/* Einheitliches Styling für Inputs */
.form-measure input[type="number"] {
    padding: 8px;
    font-size: 16px;
}


}
 @media (min-width: 800px) {
    .kitchen-vogel-container img{
       width:280px;
       margin: 48px;
    }
}

