:root {
    --box-bg-color: #e0e9fb;
    --title-color: #004ec2; /* Default color */
}

html,
body {
    overflow-x: auto;
}

@media (max-width: 640px) {
    .lkw-timeline {
        font-size: 0.7em;
    }
}

.lkw-container {
    position: relative;
    transition: transform 0.3s ease-in-out;
    max-width: 300px;
    margin: 0 auto;
}

.lkw-container img {
    width: 100%;
    height: auto;
    max-height: 100px;
    object-fit: contain;
}

.lkw-total-weight {
    position: absolute;
    top: 3em;
    left: 2.3em;
    width: 5em;
    font-size: 0.7em;
    font-weight: bold;
    color: white;
    padding: 0.25em 0.5em;
    cursor: default;
    display: flex;
    flex-direction: column; /* Stapelt Gewicht und Preis vertikal */
    line-height: 1em;
}

.weight, .price {
    display: flex;
    margin-bottom: 0.1rem;
    align-items: baseline; /* Zahlen und Einheiten auf einer Linie */
}

.weight {
    margin-right: 0rem;
}

.number {
    text-align: right;
    width: 3em; /* Feste Breite für saubere vertikale Ausrichtung */
}

.unit {
    margin-left: 0.5em; /* Abstand zwischen Zahl und Einheit */
    font-size: 0.9em; /* Optional: Einheit etwas kleiner */
}



/* Timeline */
.timeline {
    display: flex;
    align-items: center;
}

.line {
    top: 50%;
    transform: translateY(-50%);
}

.active-line {
    top: 50%;
    transform: translateY(-50%);
    left: 0;
}

/* Dots */
.dots {
    width: 100%;
}

.dot {
    width: 1.2em;
    height: 1.2em;
    border-radius: 50%;
    background-color: #e5e7eb;
    /* border: 2px solid white; */
    /* cursor: pointer; */
    transition: all 0.2s ease-in-out;
    z-index: 10;
}

.dot:first-child {
    margin-left: -0.1em;
}

.dot:last-child {
    margin-right: -0.1em;
}

/* .dot:hover {
    transform: scale(1.2);
} */

.dot.active {
    background-color: var(--title-color);
}

header {
    background-color: var(--title-color);
}

.price-display {
    font-size: 2em; /* Größere Schriftgröße */
    font-weight: bold; /* Fett für Hervorhebung */
    text-align: center; /* Zentriert den Text */
    color: var(--title-color); /* Verwende die Hauptfarbe */
}

.inventory-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: auto; /* Adjust height to auto */
    margin: 0.5rem; /* Add a small margin around each item */
    padding: 0.5rem; /* Add padding to ensure content is not touching the edges */
    box-sizing: border-box; /* Ensure padding is included in the height */
}

.inventory-item img {
    margin-bottom: 0.25rem; /* Reduce the margin around the image */
}

.inventory-item label {
    margin-bottom: 0.25rem; /* Reduce the margin around the label */
    text-align: center; /* Center the text */
}

.inventory-item .flex {
    margin-top: 0.25rem; /* Reduce the margin around the buttons and input */
    justify-content: center; /* Center the buttons and input */
}
.map-container {
    position: relative;
    width: 100%;
    height: 325px; /* Set the desired height */
    border-radius: 10px; /* Optional: to make the corners rounded */
}

/* Map element itself, filling the map container */
#map {
    width: 100%;
    height: 100%;
    position: absolute; /* Ensures that it fills the container */
    z-index: 1; /* Keep map layers above other elements */
    pointer-events: none;
}

/* Ensure Leaflet panes fill the map container correctly */
.leaflet-pane {
    position: absolute;
    width: 100% !important;
    height: 100% !important;
    z-index: 2; /* Ensure layers are positioned above the map */
}

.leaflet-container {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

@media (min-width: 768px) {
    .mobile-height {
      height: auto !important;
    }
  }

@keyframes walter-offer-submit-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.6);
        transform: scale(1);
    }
    55% {
        box-shadow: 0 0 0 18px rgba(37, 99, 235, 0);
        transform: scale(1.02);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
        transform: scale(1);
    }
}

.walter-offer-submit-pulse-wrap {
    display: inline-block;
    border-radius: 0.5rem;
}

.walter-offer-submit-pulse-wrap > button {
    animation: walter-offer-submit-pulse 0.95s ease-in-out infinite;
    will-change: transform, box-shadow;
}


/* Global button hover/click UX */
button,
input[type="button"],
input[type="submit"],
input[type="reset"],
a[role="button"],
.button {
    cursor: pointer;
    transition:
        transform 0.14s ease,
        box-shadow 0.14s ease,
        filter 0.14s ease,
        opacity 0.14s ease;
}

button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
a[role="button"]:hover,
.button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
    filter: brightness(1.03);
}

button:active,
input[type="button"]:active,
input[type="submit"]:active,
input[type="reset"]:active,
a[role="button"]:active,
.button:active {
    transform: translateY(0) scale(0.985);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.10);
    filter: brightness(0.98);
}

button:focus-visible,
input[type="button"]:focus-visible,
input[type="submit"]:focus-visible,
input[type="reset"]:focus-visible,
a[role="button"]:focus-visible,
.button:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 3px rgba(59, 130, 246, 0.22),
        0 6px 14px rgba(0, 0, 0, 0.12);
}

button:disabled,
input[type="button"]:disabled,
input[type="submit"]:disabled,
input[type="reset"]:disabled,
button[disabled],
input[disabled] {
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
    filter: none !important;
}


/* Success links box gentle pulse */
@keyframes walter-success-box-pulse {
    0%, 100% {
        box-shadow: 0 8px 20px rgba(0,0,0,0.10);
    }
    50% {
        box-shadow: 0 14px 30px rgba(0,0,0,0.18);
    }
}

.walter-success-box-pulse {
    animation: walter-success-box-pulse 1.2s ease-in-out infinite;
}


.walter-success-link-glow {
    transform: translateY(-1px) scale(1.03);
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
    filter: brightness(1.04);
}


.walter-success-button-pulse {
    animation: walter-success-box-pulse 1.2s ease-in-out infinite;
}

/* Mobile readability fix for iframe layouts below lg breakpoint */
@media (max-width: 1023px) {
    body {
        font-size: 16px;
    }

    label,
    .inline-flex {
        font-size: 0.98rem;
        line-height: 1.35;
    }

    input,
    select,
    textarea {
        font-size: 16px !important;
        min-height: 44px;
    }

    input[type="checkbox"],
    input[type="radio"] {
        min-height: auto;
        width: 1.15rem;
        height: 1.15rem;
    }

    .map-container {
        min-height: 340px;
    }
}


/* ==========================================================
   Pro focus glow title color v1
   Only focused fields.
   Uses admin/button color via --title-color.
   No JS. No buttons. No map. No route. No responsive.
   Error fields stay red.
   ========================================================== */

.slider-slide input:not(.border-red-500):not(.border-red-600):not([type="checkbox"]):not([type="radio"]):focus,
.slider-slide select:not(.border-red-500):not(.border-red-600):focus,
.slider-slide textarea:not(.border-red-500):not(.border-red-600):focus,
.slides-container input:not(.border-red-500):not(.border-red-600):not([type="checkbox"]):not([type="radio"]):focus,
.slides-container select:not(.border-red-500):not(.border-red-600):focus,
.slides-container textarea:not(.border-red-500):not(.border-red-600):focus {
    outline: none !important;
    border-color: var(--title-color) !important;
    box-shadow:
        0 0 0 3px color-mix(in srgb, var(--title-color) 22%, transparent),
        0 0 14px color-mix(in srgb, var(--title-color) 26%, transparent),
        inset 0 1px 2px rgba(15, 23, 42, 0.04) !important;
}

.slider-slide input[type="checkbox"],
.slider-slide input[type="radio"],
.slides-container input[type="checkbox"],
.slides-container input[type="radio"] {
    accent-color: var(--title-color) !important;
}

/* No validation override. No map. No route. No responsive. */



/* ==========================================================
   Pro visible background gradient v1
   Only visible background surfaces.
   Uses admin/button color via --title-color.
   No inputs. No buttons. No validation. No map. No route. No responsive.
   ========================================================== */

/* Großer sichtbarer Wizard-Hintergrund */
.bg-gray-50.overflow-x-auto {
    background:
        radial-gradient(circle at 12% 0%, color-mix(in srgb, var(--title-color) 13%, transparent), transparent 520px),
        radial-gradient(circle at 88% 6%, color-mix(in srgb, var(--title-color) 8%, transparent), transparent 420px),
        linear-gradient(180deg, #ffffff 0%, #fcfafd 48%, #f4f6f8 100%) !important;
}

/* Innere Formularflächen: mehr Weiß, dezenter Verlauf */
.slider-slide .bg-gray-100 {
    background:
        linear-gradient(180deg, #ffffff 0%, #fcfcfd 58%, #f7f8fa 100%) !important;
}

/* Haupt-Slide bleibt hell und sauber */
.slider-slide.bg-white {
    background:
        linear-gradient(180deg, #ffffff 0%, #fefefe 100%) !important;
}

/* Keine Inputs, keine Buttons, keine roten Pflichtfelder, keine Karte */

