/* ===================
   SCHRITT 1: SERIE / MODELLAUSWAHL
   =================== */
.konfigurator-schritt {
    background-color: #f8f8f8;
    padding: 50px 25px;
}
.konfigurator-schritt h2,
.reiter h2 {
    text-align: center;
    font-size: 28px;
    font-family: 'Montserrat', sans-serif;
    color: #314044;
    font-weight: bold;
    margin-bottom: 30px;
    text-transform: uppercase;
}
.konfigurator-schritt h3,
.reiter h3 {
    text-align: center;
    font-size: 20px;
    font-family: 'Montserrat', sans-serif;
    color: #314044;
    font-weight: bold;
    margin-bottom: 20px;
}
.auswahl-hinweis {
    text-align: center;
    font-size: 13px;
    color: #666;
    font-family: 'Libre Franklin', sans-serif;
    margin: -20px 0 25px;
}

/* ===================
   BILDWAHL (Modellauswahl)
   =================== */
.eq-bildwahl {
    display: flex;
    justify-content: space-between;
    gap: 1em;
    flex-wrap: wrap;
    margin-bottom: 50px;
}
.eq-bild {
    flex: 1 1 calc(25% - 1em);
    text-align: center;
    border: 2px solid #dddddd;
    padding: 10px;
    font-family: 'Montserrat', sans-serif;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 6px;
}
.eq-bild .eq-bild-inner-wrap {
    width: 90%;
    padding-top: 90%;
    position: relative;
}
.eq-bild .eq-bild-inner-wrap img {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    object-fit: contain;
}
.eq-bild p {
    margin: 10px 0;
    font-weight: bold;
    color: #606d71;
}
.eq-bild.active {
    border-color: #d71920;
    background-color: #fff0f0;
}
.eq-bild.active p {
    color: #314044;
}

/* ===================
   AUSWAHL-GRUPPEN / OPTIONEN
   =================== */
.konfig-auswahl-gruppe {
    margin-bottom: 3rem;
}
.konfig-auswahl-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1em;
    margin-bottom: 50px;
}
.konfig-option {
    flex: 1 1 calc(33.333% - 1em);
    max-width: calc(33.333% - 1em);
    min-height: 100px;
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 6px;
    padding: 10px;
    background-color: #f9f9f9;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
	line-height: 1.3;
	background-color: #FFF;
}
.konfig-option:hover {
    border-color: #314044;
}
.konfig-option input {
    display: none;
}
.konfig-option span {
    display: block;
    width: 100%;
}
.konfig-option small {
    font-family: 'Libre Franklin', sans-serif;
    font-size: 0.85em;
}
.konfig-option.active {
    border-color: #d71920;
    background-color: #fff0f0;
	color: #314044;
}
.konfig-option.option-deaktiviert {
    opacity: 0.4;
    pointer-events: none;
    filter: grayscale(100%);
}


/* Hubmast-Grid: 3er-Aufteilung */
.hubmast-grid .konfig-option,
.optionen-grid .konfig-option {
    flex: 1 1 calc(33.333% - 1em);
    max-width: calc(33.333% - 1em);
    box-sizing: border-box;
}

/* ===================
   STEP-NAVIGATION
   =================== */
.konfigurator-nav {
    width: 100%;
    margin: 0 0 2px 0;
}
.konfigurator-nav-bar {
    display: flex;
    font-family: 'Montserrat', sans-serif;
}
.nav-step-block {
    flex: 1;
    padding: 0.75em 0.5em;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    border-right: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3em;
    position: relative;
}
.nav-step-block:last-child {
    border-right: none;
}
.nav-step-block .step-number {
    font-weight: bold;
}
.nav-step-block .step-title {
    display: inline-block;
    max-width: 60%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.nav-step-block.done {
    background-color: #314044;
    color: white;
}
.nav-step-block.pending {
    background-color: #e6e7e8;
    color: #606d71;
    cursor: default;
}
.nav-step-block.active {
    background-color: #d71920;
    color: white;
    flex: 0 0 50%;
}
.nav-step-block:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 6px 10px;
    font-size: 13px;
    font-family: 'Libre Franklin', sans-serif;
    z-index: 10;
    white-space: nowrap;
    margin-bottom: 10px;
}
.nav-step-block:hover::before {
    content: "";
    position: absolute;
    bottom: calc(100% - 2px);
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #314044 transparent transparent transparent;
}

/* ===================
   STEP VISIBILITY
   =================== */
.konfigurator-schritt {
    display: none;
}
.konfigurator-schritt.active {
    display: block;
}

/* ===================
   BUTTONS (Weiter / Zurück / Absenden)
   =================== */
.step-nav-buttons {
    margin-top: 2em;
    display: flex;
    justify-content: space-between;
    gap: 1em;
    flex-wrap: wrap;
}
.step-nav-buttons button,
.bulmor-konfigurator-form button[type="submit"] {
    background-color: #d71920;
    border: 2px solid #d71920;
    color: white;
    padding: 0.6em 1.5em;
    border-radius: 0;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: 0.5s;
}
.step-nav-buttons button:hover,
.bulmor-konfigurator-form button[type="submit"]:hover {
    background-color: #314044;
    border-color: #314044;
}
.konfigurator-schritt[data-step="1"] .step-nav-buttons {
    justify-content: flex-end;
    margin-top: 3em;
}
.weiter-btn:disabled {
    background-color: #d71920 !important;
    border: 2px solid #d71920 !important;
    cursor: not-allowed;
    opacity: 0.4;
}

/* ===================
   KUNDENDATEN-FORMULAR
   =================== */
.kundendaten-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    margin-bottom: 2rem;
}

.konfig-eingabefeld {
    display: flex;
    flex-direction: column;
    font-family: 'Montserrat', sans-serif;
}

.konfig-eingabefeld label {
    margin-bottom: 6px;
    font-weight: bold;
    color: #314044;
    font-size: 0.95rem;
}

.konfig-eingabefeld input,
.konfig-eingabefeld select {
    padding: 12px 14px;
    border: 2px solid #ccc;
    border-radius: 6px;
    font-family: 'Libre Franklin', sans-serif;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
    background-color: #fff;
}

.konfig-eingabefeld input:focus,
.konfig-eingabefeld select:focus {
    outline: none;
    border-color: #d71920;
}

.konfig-eingabefeld.feld-100 {
    flex: 1 1 100%;
}
.konfig-eingabefeld.feld-50 {
    flex: 1 1 48%;
}
.konfig-eingabefeld.feld-35 {
    flex: 1 1 33%;
}
.konfig-eingabefeld.feld-15 {
    flex: 1 1 15%;
}

.konfig-eingabefeld.text-center {
    text-align: center;
}

.konfig-eingabefeld button[type="submit"] {
    background-color: #d71920;
    border: 2px solid #d71920;
    color: white;
    padding: 0.7em 2em;
    border-radius: 0;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: 0.3s;
    margin-top: 1.5rem;
}

.konfig-eingabefeld button[type="submit"]:hover {
    background-color: #314044;
    border-color: #314044;
}

.konfig-eingabefeld input,
.konfig-eingabefeld select {
    padding: 0.6em 1em !important;
    height: 48px; /* Einheitliche Höhe */
    line-height: 1.4;
    border: 2px solid #ccc;
    border-radius: 6px;
    font-family: 'Libre Franklin', sans-serif;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
    background-color: #fff;
    appearance: none; /* Entfernt Browser-Styling bei Select */
}

/* Letzter Schritt: Buttons volle Breite */
.konfigurator-schritt .step-nav-buttons {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 1em;
    flex-wrap: wrap;
}


