﻿/**
 * ==================================================================================
 * BABYLUGG MODERNIZATION - Phase 1 Quick Wins
 * ==================================================================================
 * Moderne UI-Verbesserungen unter Beibehaltung der CI-Farben
 * - Button Modernisierung
 * - Input Field Verbesserungen
 * - Card Shadows & Hover
 * - Typografie Update
 * ==================================================================================
 */

/* ==================== TYPOGRAFIE UPDATE ==================== */

/* Verbesserte Line-Heights und Spacing */
body {
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1 {
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-weight: 700;
}

h2 {
    line-height: 1.3;
    letter-spacing: -0.01em;
    font-weight: 600;
}

h3, h4 {
    line-height: 1.4;
    font-weight: 600;
}

p {
    line-height: 1.7;
    font-weight: 400;
}

/* ==================== BUTTON MODERNISIERUNG ==================== */

.button {
    background-color: var(--primary-color);
    color: white !important;
    border-radius: 24px; /* Pill-Shape statt 12px */
    padding: 14px 28px; /* Etwas grÃ¶ÃŸer */
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    box-shadow: 0 2px 8px rgba(42, 159, 135, 0.25),
                0 1px 3px rgba(42, 159, 135, 0.15);
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.button:hover {
    background-color: #238770;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(42, 159, 135, 0.35),
                0 2px 8px rgba(42, 159, 135, 0.2);
}

.button:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 1px 4px rgba(42, 159, 135, 0.2);
}

/* Ripple Effect fÃ¼r Buttons */
.button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.button:active::after {
    width: 300px;
    height: 300px;
}

/* Secondary Button */
.button-secondary {
    background-color: transparent;
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color);
    box-shadow: none;
    padding: 12px 28px; /* Adjust for border */
}

.button-secondary:hover {
    background-color: rgba(42, 159, 135, 0.08);
    border-color: #238770;
    color: #238770 !important;
    transform: translateY(-2px);
    box-shadow: 0 2px 12px rgba(42, 159, 135, 0.15);
}

.button-secondary:active {
    transform: translateY(0) scale(0.98);
    background-color: rgba(42, 159, 135, 0.15);
}

/* Danger Button */
.button-danger {
    background-color: var(--danger-color);
    box-shadow: 0 2px 8px rgba(192, 57, 43, 0.25),
                0 1px 3px rgba(192, 57, 43, 0.15);
}

.button-danger:hover {
    background-color: #a93226;
    box-shadow: 0 4px 16px rgba(192, 57, 43, 0.35),
                0 2px 8px rgba(192, 57, 43, 0.2);
}

/* Success Button */
.button-success {
    background-color: var(--success-color);
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.25),
                0 1px 3px rgba(39, 174, 96, 0.15);
}

.button-success:hover {
    background-color: #229954;
    box-shadow: 0 4px 16px rgba(39, 174, 96, 0.35),
                0 2px 8px rgba(39, 174, 96, 0.2);
}

/* Button GrÃ¶ÃŸen */
.button-small {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 20px;
}

.button-large {
    padding: 16px 36px;
    font-size: 16px;
    border-radius: 28px;
}

/* ==================== INPUT FIELDS MODERNISIERUNG ==================== */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
textarea,
select {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #DADCE0;
    border-radius: 12px;
    font-size: 15px;
    font-family: 'Lato', sans-serif;
    background-color: #ffffff;
    color: var(--text-color);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(42, 159, 135, 0.1);
    background-color: #ffffff;
}

input:hover:not(:focus),
textarea:hover:not(:focus),
select:hover:not(:focus) {
    border-color: #9AA0A6;
}

/* Input mit Icon */
.input-with-icon {
    position: relative;
}

.input-with-icon input {
    padding-left: 44px;
}

.input-with-icon i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-color);
    opacity: 0.5;
}

.input-with-icon input:focus + i {
    color: var(--primary-color);
    opacity: 1;
}

/* Input Error State */
input.error,
textarea.error,
select.error {
    border-color: var(--danger-color);
}

input.error:focus,
textarea.error:focus,
select.error:focus {
    box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}

/* Input Success State */
input.success,
textarea.success,
select.success {
    border-color: var(--success-color);
}

input.success:focus,
textarea.success:focus,
select.success:focus {
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
}

/* Placeholder Style */
::placeholder {
    color: #80868B;
    opacity: 1;
}

/* Label Styling */
label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
    color: var(--text-color);
}

/* Helper Text */
.input-helper {
    font-size: 13px;
    color: #5F6368;
    margin-top: 6px;
}

.input-helper.error {
    color: var(--danger-color);
}

.input-helper.success {
    color: var(--success-color);
}

/* ==================== CARD MODERNISIERUNG ==================== */

/* Produkt Cards */
.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06),
                0 1px 2px rgba(0, 0, 0, 0.04);
    border: 1px solid #F1F3F4;
}

.product-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12),
                0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
    border-color: transparent;
}

/* Allgemeine Cards */
.card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06),
                0 1px 2px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #F1F3F4;
}

.card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1),
                0 2px 8px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

/* Card mit Image */
.card-image {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
}

.card-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover .card-image img {
    transform: scale(1.05);
}

/* Info Cards */
.info-card {
    background: var(--light-background);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(42, 159, 135, 0.1);
    transition: all 0.3s ease;
}

.info-card:hover {
    background: white;
    box-shadow: 0 4px 16px rgba(42, 159, 135, 0.15);
    border-color: var(--primary-color);
}

/* ==================== TAB BUTTONS ==================== */

.tab-button {
    background: transparent;
    border: none;
    padding: 12px 24px;
    border-radius: 24px;
    cursor: pointer;
    font-weight: 500;
    font-size: 15px;
    color: var(--text-color);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.tab-button:hover {
    background: rgba(42, 159, 135, 0.08);
    color: var(--primary-color);
}

.tab-button.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 2px 8px rgba(42, 159, 135, 0.25);
}

.tab-button.active:hover {
    background: #238770;
}

/* ==================== MODAL MODERNISIERUNG ==================== */

.modal-content {
    border-radius: 20px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.2),
                0 4px 16px rgba(0, 0, 0, 0.15);
    border: none;
    overflow: hidden;
}

.modal-header {
    padding: 24px 28px;
    border-bottom: 1px solid #F1F3F4;
}

.modal-body {
    padding: 28px;
}

.modal-footer {
    padding: 20px 28px;
    border-top: 1px solid #F1F3F4;
    background: #F8F9FA;
}

/* ==================== BADGES & TAGS ==================== */

.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
}

.badge-primary {
    background: rgba(42, 159, 135, 0.12);
    color: var(--primary-color);
}

.badge-secondary {
    background: rgba(89, 22, 112, 0.12);
    color: var(--secondary-color);
}

.badge-success {
    background: rgba(39, 174, 96, 0.12);
    color: var(--success-color);
}

.badge-danger {
    background: rgba(192, 57, 43, 0.12);
    color: var(--danger-color);
}

/* ==================== LINKS ==================== */

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #238770;
    text-decoration: underline;
}

/* ==================== DIVIDERS ==================== */

hr {
    border: none;
    height: 1px;
    background: #DADCE0;
    margin: 24px 0;
}

/* ==================== RESPONSIVE ADJUSTMENTS ==================== */

@media (max-width: 768px) {
    .button {
        padding: 12px 24px;
        font-size: 14px;
        border-radius: 22px;
    }

    .button-large {
        padding: 14px 28px;
        font-size: 15px;
        border-radius: 24px;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    input[type="password"],
    textarea,
    select {
        padding: 12px 14px;
        font-size: 16px; /* Prevent zoom on iOS */
    }

    .card {
        padding: 20px;
        border-radius: 14px;
    }
}

/* ==================== SMOOTH TRANSITIONS ==================== */

* {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== ACCESSIBILITY ==================== */

/* Focus visible fÃ¼r Keyboard Navigation */
*:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Remove default focus fÃ¼r Mouse */
*:focus:not(:focus-visible) {
    outline: none;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
/**
 * ==================================================================================
 * BABYLUGG PHASE 2 - Core Features
 * ==================================================================================
 * - Booking Flow Redesign mit Progress Indicator
 * - Product Grid Modernisierung
 * - Navigation Improvements
 * ==================================================================================
 */

/* ==================== BOOKING FLOW REDESIGN ==================== */

/* Progress Indicator */
.booking-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 0 24px;
    margin: 0 auto;
    max-width: 700px;
    position: relative;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    position: relative;
    z-index: 2;
}

.progress-step-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #F1F3F4;
    border: 3px solid #DADCE0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: #80868B;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.progress-step.active .progress-step-circle {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 6px rgba(42, 159, 135, 0.12),
                0 4px 12px rgba(42, 159, 135, 0.3);
    transform: scale(1.1);
}

.progress-step.completed .progress-step-circle {
    background: var(--success-color);
    color: white;
    border-color: var(--success-color);
}

.progress-step-label {
    font-size: 13px;
    font-weight: 500;
    color: #5F6368;
    text-align: center;
    max-width: 90px;
}

.progress-step.active .progress-step-label {
    color: var(--primary-color);
    font-weight: 600;
}

.progress-step.completed .progress-step-label {
    color: var(--success-color);
}

.progress-line {
    position: absolute;
    top: 22px;
    left: 0;
    right: 0;
    height: 3px;
    background: #DADCE0;
    z-index: 1;
}

.progress-line-fill {
    height: 100%;
    background: var(--primary-color);
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 8px rgba(42, 159, 135, 0.4);
}

/* Booking Steps Modernisierung */
.booking-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.booking-step {
    background: white;
    border: 2px solid #F1F3F4;
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.booking-step:not(.is-disabled) {
    border-color: var(--primary-color);
    box-shadow: 0 4px 16px rgba(42, 159, 135, 0.1);
}

.booking-step.is-disabled {
    opacity: 0.5;
    pointer-events: none;
}

.booking-step h4 {
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.booking-step h4::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Delivery Options */
.delivery-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.delivery-options label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 2px solid #DADCE0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.delivery-options label:hover {
    border-color: var(--primary-color);
    background: rgba(42, 159, 135, 0.04);
}

.delivery-options input[type="radio"]:checked + label,
.delivery-options label:has(input[type="radio"]:checked) {
    border-color: var(--primary-color);
    background: rgba(42, 159, 135, 0.08);
    box-shadow: 0 2px 8px rgba(42, 159, 135, 0.15);
}

.delivery-options input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-color);
}

#pickup-info {
    background: var(--light-background);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-top: 12px;
    border-left: 4px solid var(--primary-color);
}

.pickup-times {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.pickup-times label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 14px;
}

.pickup-times select {
    width: 100%;
}

/* Customer Details Grid */
.customer-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (max-width: 640px) {
    .customer-details-grid {
        grid-template-columns: 1fr;
    }
}

/* Price Summary Modernisierung */
.price-summary {
    background: var(--light-background);
    border-radius: 16px;
    padding: 24px;
    margin: 24px 0;
    border: 2px solid #DADCE0;
}

.price-summary p {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 8px 0;
    font-size: 15px;
}

.price-summary p:has(b) {
    font-size: 18px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 2px solid #DADCE0;
}

.price-summary strong {
    color: var(--primary-color);
    font-size: 16px;
}

.price-summary hr {
    margin: 16px 0;
    border: none;
    height: 2px;
    background: #DADCE0;
}

/* Payment Options */
.payment-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 16px 0;
}

.payment-options label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 2px solid #DADCE0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.payment-options label:hover {
    border-color: var(--primary-color);
    background: rgba(42, 159, 135, 0.04);
}

.payment-options input[type="radio"]:checked + label,
.payment-options label:has(input[type="radio"]:checked) {
    border-color: var(--primary-color);
    background: rgba(42, 159, 135, 0.08);
    box-shadow: 0 2px 8px rgba(42, 159, 135, 0.15);
}

/* Coupon Container */
.coupon-container {
    display: flex;
    gap: 12px;
    margin: 20px 0;
}

.coupon-container input {
    flex: 1;
}

/* Booking Confirmation View */
#booking-confirmation-view {
    text-align: center;
    padding: 40px 20px;
    display: none;
}

#booking-confirmation-view.active {
    display: block;
    animation: fadeInScale 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

#booking-confirmation-view svg {
    margin: 0 auto 24px;
    animation: checkmarkDraw 0.6s ease forwards;
}

@keyframes checkmarkDraw {
    0% {
        stroke-dasharray: 100;
        stroke-dashoffset: 100;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

/* ==================== PRODUCT GRID MODERNISIERUNG ==================== */

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    padding: 20px 0;
}

@media (max-width: 640px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Modern Product Card - Clean Apple-Style ohne Rahmen */
.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04),
                0 1px 3px rgba(0, 0, 0, 0.02);
    border: none;
    position: relative;
    cursor: pointer;
}

.product-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08),
                0 4px 16px rgba(0, 0, 0, 0.04);
    transform: translateY(-6px);
}

/* Product Image Container - Clean, ohne schwarze Balken */
.product-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1; /* Quadratisches Format - passt am besten fÃ¼r Produktbilder */
    overflow: hidden;
    background: #ffffff; /* Reines WeiÃŸ - keine Balken sichtbar */
    padding: 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px 20px 0 0;
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Contain zeigt ganzes Produkt */
    object-position: center;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1.15); /* Zoom um schwarze RÃ¤nder des Bildes zu clippen */
}

.product-card:hover .product-image-container img {
    transform: scale(1.20); /* Beim Hover noch mehr zoomen */
}

/* Mobile: Weniger Zoom damit mehr vom Produkt sichtbar ist */
@media (max-width: 768px) {
    .product-image-container img {
        transform: scale(1.08); /* Auf Mobile weniger zoomen */
    }

    .product-card:hover .product-image-container img {
        transform: scale(1.12);
    }
}

/* Product Badge */
.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: white;
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.product-badge.popular {
    background: var(--primary-color);
    color: white;
}

.product-badge.new {
    background: var(--secondary-color);
    color: white;
}

/* Quick Actions Overlay */
.product-quick-actions {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3;
}

.product-card:hover .product-quick-actions {
    opacity: 1;
    transform: translateY(0);
}

.quick-action-btn {
    flex: 1;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.quick-action-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.quick-action-btn i {
    margin-right: 6px;
}

/* Product Content */
.product-content {
    padding: 20px;
}

.product-category {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-description {
    font-size: 14px;
    color: #5F6368;
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Product Footer */
.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #F1F3F4;
}

.product-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
}

.product-price-period {
    font-size: 13px;
    font-weight: 500;
    color: #80868B;
}

.product-availability {
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 16px;
}

.product-availability.available {
    background: rgba(39, 174, 96, 0.12);
    color: var(--success-color);
}

.product-availability.limited {
    background: rgba(249, 171, 0, 0.12);
    color: #F9AB00;
}

.product-availability.unavailable {
    background: rgba(192, 57, 43, 0.12);
    color: var(--danger-color);
}

/* ==================== NAVIGATION MODERNISIERUNG ==================== */

/* Glassmorphism Top Navigation */
.main-header {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

/* Mobile Bottom Navigation (iOS Style) */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 8px 0 max(8px, env(safe-area-inset-bottom));
    border-top: 0.5px solid rgba(0, 0, 0, 0.08);
    display: none;
    grid-template-columns: repeat(4, 1fr);
    box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.08);
    z-index: 999;
}

@media (max-width: 768px) {
    .bottom-nav {
        display: grid;
    }

    /* Add padding to body to account for bottom nav */
    body {
        padding-bottom: calc(65px + env(safe-area-inset-bottom));
    }
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px;
    color: #80868B;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
}

.bottom-nav-item:active {
    transform: scale(0.9);
}

.bottom-nav-item.active {
    color: var(--primary-color);
}

.bottom-nav-item.active::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 0 0 3px 3px;
}

.bottom-nav-item i {
    font-size: 22px;
    transition: transform 0.2s ease;
}

.bottom-nav-item.active i {
    transform: scale(1.1);
}

.bottom-nav-item span {
    font-size: 11px;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
}

/* Category Tabs Modernisierung */
.category-tabs {
    display: flex;
    gap: 8px;
    padding: 16px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
    display: none;
}

.category-tab {
    padding: 10px 20px;
    background: white;
    border: 2px solid #DADCE0;
    border-radius: 24px;
    font-weight: 500;
    font-size: 14px;
    color: var(--text-color);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-tab:hover {
    border-color: var(--primary-color);
    background: rgba(42, 159, 135, 0.04);
}

.category-tab.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(42, 159, 135, 0.25);
}

/* Filter Container Modernisierung */
.filter-container {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.search-bar {
    flex: 1;
    min-width: 250px;
}

.search-bar input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    border: 2px solid #DADCE0;
    border-radius: 24px;
    font-size: 15px;
    background: white url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%2380868B" stroke-width="2"><circle cx="11" cy="11" r="8"/><path d="m21 21-4.35-4.35"/></svg>') no-repeat 14px center;
    transition: all 0.2s ease;
}

.search-bar input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(42, 159, 135, 0.1);
    outline: none;
}

.sort-by select {
    padding: 12px 16px;
    border: 2px solid #DADCE0;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 500;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sort-by select:hover {
    border-color: var(--primary-color);
}

.sort-by select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(42, 159, 135, 0.1);
    outline: none;
}

/* ==================== MODAL IMPROVEMENTS ==================== */

.modal {
    backdrop-filter: blur(8px);
    background: rgba(0, 0, 0, 0.5);
}

.modal-content {
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: #F1F3F4;
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

/* ==================== RESPONSIVE ADJUSTMENTS ==================== */

@media (max-width: 768px) {
    .booking-progress {
        padding: 24px 0 16px;
    }

    .progress-step-circle {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .progress-step-label {
        font-size: 11px;
        max-width: 70px;
    }

    .booking-step {
        padding: 20px;
    }

    .booking-step h4 {
        font-size: 16px;
    }

    .price-summary {
        padding: 20px;
    }

    .product-grid {
        gap: 16px;
    }

    .filter-container {
        flex-direction: column;
    }

    .search-bar {
        min-width: 100%;
    }
}

/* ==================== ACCESSIBILITY ==================== */

@media (prefers-reduced-motion: reduce) {
    .product-card,
    .booking-step,
    .bottom-nav-item,
    .progress-step-circle {
        transition: none !important;
        animation: none !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .product-card,
    .booking-step,
    .bottom-nav {
        border-width: 2px;
    }
}

/* ==================== REISESETS - BREITERES FORMAT ==================== */

/* Sets bekommen ein sehr breites Format (2/1) da zwei Produkte nebeneinander */
.product-card-set .product-image-container,
.product-card-set .product-image-slider,
.product-card-set .product-image-single {
    aspect-ratio: 2/1; /* Sehr breit fÃ¼r Sets mit zwei Produkten - zeigt beide komplett */
}

/* Sets: Weniger Zoom da mehr Inhalt sichtbar sein soll */
.product-card-set .product-image-container img,
.product-card-set .slide img,
.product-card-set .product-image-single img {
    transform: scale(1.08); /* Weniger Zoom bei Sets - 1.08 statt 1.15 */
}

.product-card-set:hover .product-image-container img {
    transform: scale(1.12); /* Hover bei Sets */
}
/**
 * ==================================================================================
 * BABYLUGG BOOKING SYSTEM - MODERN REDESIGN
 * ==================================================================================
 * Version: 2.0
 * Erstellt: 2025-01-26
 *
 * Features:
 * âœ“ Mobile-First Responsive Design
 * âœ“ Professionelles Typografie-System
 * âœ“ Modernes Farb- und Spacing-System
 * âœ“ Accessibility (WCAG AA)
 * âœ“ Touch-optimiert (min 44x44px Touch-Targets)
 * âœ“ Animationen und Micro-Interactions
 * âœ“ Inline-Validierung
 * âœ“ Loading-States
 * âœ“ Bottom-Sheet Pattern fÃ¼r Mobile
 * ==================================================================================
 */

/* ==================== CSS VARIABLES & DESIGN TOKENS ==================== */

:root {
    /* === Farben === */
    --bl-primary: #2A9F87;
    --bl-primary-light: #3DBCA2;
    --bl-primary-dark: #228973;
    --bl-primary-rgb: 42, 159, 135;

    --bl-secondary: #591670;
    --bl-secondary-light: #722089;
    --bl-secondary-dark: #450F5A;
    --bl-secondary-rgb: 89, 22, 112;

    --bl-success: #27ae60;
    --bl-success-light: #2ecc71;
    --bl-success-dark: #1e8449;

    --bl-error: #e74c3c;
    --bl-error-light: #ec7063;
    --bl-error-dark: #c0392b;

    --bl-warning: #f39c12;
    --bl-warning-light: #f8c471;
    --bl-warning-dark: #d68910;

    --bl-info: #3498db;
    --bl-info-light: #5dade2;
    --bl-info-dark: #2874a6;

    /* === Neutralfarben - CLEAN & SIMPLE === */
    --bl-gray-50: #FAFAFA;
    --bl-gray-100: #F5F5F5;
    --bl-gray-200: #EEEEEE;
    --bl-gray-300: #E0E0E0;
    --bl-gray-400: #BDBDBD;
    --bl-gray-500: #9E9E9E;
    --bl-gray-600: #757575;
    --bl-gray-700: #616161;
    --bl-gray-800: #424242;
    --bl-gray-900: #212121;

    --bl-text-primary: #000000;
    --bl-text-secondary: #424242;
    --bl-text-tertiary: #757575;

    --bl-bg-primary: #FFFFFF;
    --bl-bg-secondary: #FFFFFF;
    --bl-bg-tertiary: #FAFAFA;
    --bl-bg-modal: #FFFFFF;

    /* === Spacing System (8px Base Grid) === */
    --bl-space-1: 0.25rem;  /* 4px */
    --bl-space-2: 0.5rem;   /* 8px */
    --bl-space-3: 0.75rem;  /* 12px */
    --bl-space-4: 1rem;     /* 16px */
    --bl-space-5: 1.25rem;  /* 20px */
    --bl-space-6: 1.5rem;   /* 24px */
    --bl-space-8: 2rem;     /* 32px */
    --bl-space-10: 2.5rem;  /* 40px */
    --bl-space-12: 3rem;    /* 48px */
    --bl-space-16: 4rem;    /* 64px */
    --bl-space-20: 5rem;    /* 80px */

    /* === Typografie === */
    --bl-font-family-base: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --bl-font-family-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --bl-font-size-xs: 0.75rem;     /* 12px */
    --bl-font-size-sm: 0.875rem;    /* 14px */
    --bl-font-size-base: 1rem;      /* 16px */
    --bl-font-size-lg: 1.125rem;    /* 18px */
    --bl-font-size-xl: 1.25rem;     /* 20px */
    --bl-font-size-2xl: 1.5rem;     /* 24px */
    --bl-font-size-3xl: 1.875rem;   /* 30px */
    --bl-font-size-4xl: 2.25rem;    /* 36px */

    --bl-font-weight-normal: 400;
    --bl-font-weight-medium: 500;
    --bl-font-weight-semibold: 600;
    --bl-font-weight-bold: 700;

    --bl-line-height-tight: 1.25;
    --bl-line-height-normal: 1.5;
    --bl-line-height-relaxed: 1.6;

    /* === Border Radius === */
    --bl-radius-sm: 0.375rem;   /* 6px */
    --bl-radius-md: 0.5rem;     /* 8px */
    --bl-radius-lg: 0.75rem;    /* 12px */
    --bl-radius-xl: 1rem;       /* 16px */
    --bl-radius-2xl: 1.5rem;    /* 24px */
    --bl-radius-full: 9999px;

    /* === Shadows === */
    --bl-shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --bl-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --bl-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --bl-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --bl-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --bl-shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* === Transitions === */
    --bl-transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --bl-transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --bl-transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);

    /* === Z-Index === */
    --bl-z-modal-backdrop: 2999;
    --bl-z-modal: 3000;
    --bl-z-modal-header: 3100;
    --bl-z-dropdown: 3200;

    /* === Breakpoints (fÃ¼r Referenz) === */
    /* 320px - Mobile S */
    /* 375px - Mobile M */
    /* 425px - Mobile L */
    /* 768px - Tablet */
    /* 1024px - Laptop */
    /* 1440px - Desktop */
}

/* ==================== MODAL BACKDROP & CONTAINER ==================== */

#booking-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: var(--bl-z-modal-backdrop);
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    animation: fadeIn var(--bl-transition-base);
}

#booking-modal.is-open {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== MODAL CONTENT ==================== */

#booking-modal .modal-content {
    position: relative;
    background: #FFFFFF !important;
    margin: var(--bl-space-10) auto;
    padding: var(--bl-space-8);
    width: 90%;
    max-width: 750px;
    border-radius: 16px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
    animation: slideUp var(--bl-transition-slow);
    box-sizing: border-box;
    overflow-x: hidden;
    border: 1px solid #E0E0E0 !important;
}

/* === Close Button === */
#booking-modal .close-button {
    position: absolute;
    top: var(--bl-space-4);
    right: var(--bl-space-4);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F5F5F5;
    border: 2px solid #E0E0E0;
    border-radius: 50%;
    font-size: 1.75rem;
    line-height: 1;
    color: #000000;
    cursor: pointer;
    transition: all var(--bl-transition-base);
    z-index: var(--bl-z-modal-header);
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

#booking-modal .close-button:hover {
    background: #E0E0E0;
    color: #000000;
    transform: rotate(90deg);
}

#booking-modal .close-button:active {
    transform: rotate(90deg) scale(0.95);
}

/* ==================== MODAL HEADER ==================== */

#booking-modal h2,
#booking-modal .booking-modal-title {
    font-family: var(--bl-font-family-heading);
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #000000 !important;
    margin: 0 var(--bl-space-16) var(--bl-space-6) 0;
    line-height: var(--bl-line-height-tight);
}

/* ==================== PROGRESS INDICATOR ==================== */

.booking-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--bl-space-8) 0 var(--bl-space-6);
    margin-bottom: var(--bl-space-6);
    position: relative;
}

.progress-line {
    position: absolute;
    top: 34px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: var(--bl-gray-200);
    z-index: 1;
    border-radius: var(--bl-radius-full);
}

.progress-line-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--bl-primary), var(--bl-primary-light));
    border-radius: var(--bl-radius-full);
    transition: width var(--bl-transition-slow);
    box-shadow: 0 0 12px rgba(var(--bl-primary-rgb), 0.4);
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--bl-space-2);
    flex: 1;
    position: relative;
    z-index: 2;
}

.progress-step-circle {
    width: 52px;
    height: 52px;
    border-radius: var(--bl-radius-full);
    background: var(--bl-bg-primary);
    border: 3px solid var(--bl-gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--bl-font-family-heading);
    font-weight: var(--bl-font-weight-bold);
    font-size: var(--bl-font-size-lg);
    color: var(--bl-gray-400);
    transition: all var(--bl-transition-base);
    box-shadow: var(--bl-shadow-sm);
}

.progress-step.active .progress-step-circle {
    background: var(--bl-primary);
    color: white;
    border-color: var(--bl-primary);
    box-shadow: 0 0 0 8px rgba(var(--bl-primary-rgb), 0.12),
                var(--bl-shadow-md);
    transform: scale(1.08);
}

.progress-step.completed .progress-step-circle {
    background: var(--bl-success);
    color: white;
    border-color: var(--bl-success);
    box-shadow: var(--bl-shadow-sm);
}

.progress-step.completed .progress-step-circle::after {
    content: 'âœ“';
    font-size: var(--bl-font-size-xl);
}

.progress-step.completed .progress-step-circle:not(:has(.progress-step-number)) {
    font-size: 0;
}

.progress-step-label {
    font-size: var(--bl-font-size-xs);
    font-weight: var(--bl-font-weight-medium);
    color: var(--bl-text-tertiary);
    text-align: center;
    max-width: 90px;
    line-height: var(--bl-line-height-tight);
}

.progress-step.active .progress-step-label {
    color: var(--bl-primary);
    font-weight: var(--bl-font-weight-semibold);
}

.progress-step.completed .progress-step-label {
    color: var(--bl-success);
}

/* ==================== BOOKING STEPS ==================== */

.booking-steps {
    display: flex;
    flex-direction: column;
    gap: var(--bl-space-6);
    margin-bottom: var(--bl-space-6);
    width: 100%;
    box-sizing: border-box;
}

.booking-step {
    background: #FFFFFF;
    border: 2px solid #E0E0E0;
    border-radius: 12px;
    padding: var(--bl-space-6);
    transition: all var(--bl-transition-base);
    width: 100%;
    box-sizing: border-box;
}

.booking-step:not(.is-disabled) {
    border-color: #2A9F87;
    background: #FFFFFF;
    box-shadow: 0 2px 8px rgba(42, 159, 135, 0.15);
}

.booking-step.is-disabled {
    opacity: 0.5;
    pointer-events: none;
    user-select: none;
}

.booking-step h4 {
    font-family: var(--bl-font-family-heading);
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #000000 !important;
    margin: 0 0 var(--bl-space-4);
    display: flex;
    align-items: center;
    gap: var(--bl-space-3);
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.booking-step h4::before {
    content: '';
    width: 4px;
    height: 24px;
    background: #2A9F87 !important;
    border-radius: 2px;
}

/* ==================== FORM ELEMENTS ==================== */

/* === Labels === */
#booking-modal label {
    display: block;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #000000 !important;
    margin-bottom: var(--bl-space-2);
}

/* === Input Fields === */
#booking-modal input[type="text"],
#booking-modal input[type="email"],
#booking-modal input[type="tel"],
#booking-modal input[type="number"],
#booking-modal select,
#booking-modal textarea {
    width: 100%;
    min-height: 52px;
    padding: var(--bl-space-3) var(--bl-space-4);
    font-family: var(--bl-font-family-base);
    font-size: 16px !important;
    color: #000000 !important;
    background: #FFFFFF !important;
    border: 2px solid #E0E0E0 !important;
    border-radius: 8px !important;
    transition: all var(--bl-transition-base);
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
}

#booking-modal input::placeholder,
#booking-modal textarea::placeholder {
    color: var(--bl-gray-400);
}

#booking-modal input:hover,
#booking-modal select:hover,
#booking-modal textarea:hover {
    border-color: #2A9F87 !important;
}

#booking-modal input:focus,
#booking-modal select:focus,
#booking-modal textarea:focus {
    outline: none !important;
    border-color: #2A9F87 !important;
    background: #FFFFFF !important;
    box-shadow: 0 0 0 3px rgba(42, 159, 135, 0.15) !important;
}

#booking-modal input.error,
#booking-modal select.error,
#booking-modal textarea.error {
    border-color: var(--bl-error);
}

#booking-modal input.error:focus,
#booking-modal select.error:focus,
#booking-modal textarea.error:focus {
    box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.1);
}

/* === Textarea === */
#booking-modal textarea {
    min-height: 120px;
    padding-top: var(--bl-space-3);
    resize: vertical;
    line-height: var(--bl-line-height-relaxed);
}

/* === Select Dropdown === */
#booking-modal select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%234B5563' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--bl-space-3) center;
    background-size: 20px;
    padding-right: var(--bl-space-10);
    cursor: pointer;
}

/* === Radio Buttons & Checkboxes === */
#booking-modal input[type="radio"],
#booking-modal input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-height: auto;
    accent-color: var(--bl-primary);
    cursor: pointer;
}

/* === Radio/Checkbox Labels === */
.delivery-options label,
.payment-options label {
    display: flex;
    align-items: center;
    gap: var(--bl-space-3);
    padding: var(--bl-space-4);
    margin-bottom: 0;
    background: #FFFFFF !important;
    border: 2px solid #E0E0E0 !important;
    border-radius: 8px !important;
    cursor: pointer;
    transition: all var(--bl-transition-base);
    font-weight: 600 !important;
    font-size: 16px !important;
    color: #000000 !important;
    min-height: 56px;
}

.delivery-options label:hover,
.payment-options label:hover {
    border-color: #2A9F87 !important;
    background: #FFFFFF !important;
}

.delivery-options label:has(input:checked),
.payment-options label:has(input:checked) {
    border-color: #2A9F87 !important;
    background: #E8F5F3 !important;
    box-shadow: 0 2px 8px rgba(42, 159, 135, 0.15) !important;
}

/* ==================== DELIVERY & PAYMENT OPTIONS ==================== */

.delivery-options,
.payment-options {
    display: flex;
    flex-direction: column;
    gap: var(--bl-space-3);
    width: 100%;
    box-sizing: border-box;
}

.payment-section {
    width: 100%;
    box-sizing: border-box;
}

#pickup-info {
    display: none;
    background: #F5F5F5 !important;
    padding: var(--bl-space-3) var(--bl-space-4);
    border-radius: 8px !important;
    font-size: 14px !important;
    margin-top: var(--bl-space-3);
    border-left: 4px solid #2A9F87 !important;
    color: #000000 !important;
    font-weight: 600 !important;
}

.pickup-times {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 16px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.pickup-times > div {
    display: flex;
    flex-direction: column;
}

.pickup-times label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 13px;
    color: #333;
}

.pickup-times select {
    width: 100%;
    min-height: 44px !important;
    height: 44px;
    padding: 10px 12px !important;
    border-radius: 6px;
    border: 1px solid #ddd;
    background: white;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.pickup-times select:focus {
    outline: none;
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

/* ==================== CONTACT INTRO TEXT ==================== */

.contact-intro-text {
    text-align: center;
    margin-top: -30px;
    margin-bottom: 40px;
    font-size: 16px;
    color: #555;
}

/* ==================== CUSTOMER DETAILS GRID ==================== */

.customer-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--bl-space-4);
    width: 100%;
    box-sizing: border-box;
}

.customer-details-grid > div:has(#customer-email),
.customer-details-grid > div:has(#customer-street) {
    grid-column: 1 / -1;
}

.customer-notes-container {
    margin-top: var(--bl-space-4);
    width: 100%;
    box-sizing: border-box;
}

/* ==================== CALENDAR CONTAINER - KOMPLETT NEU ==================== */

#calendar-container {
    min-height: 360px;
    width: 100%;
    display: block;
    margin: var(--bl-space-4) 0;
    padding: 0;
    background: white;
    border-radius: var(--bl-radius-lg);
    border: 2px solid var(--bl-gray-300);
    box-sizing: border-box;
    overflow: hidden;
}

/*
 * ==================================================================================
 * FLATPICKR STYLES ENTFERNT
 * ==================================================================================
 * Alle Flatpickr-Styles wurden entfernt.
 * Wir nutzen jetzt den Native Calendar (siehe native-calendar.css)
 * ==================================================================================
 */

/*
/* ALTE FLATPICKR STYLES ENTFERNT - siehe flatpickr-custom.css */

.calendar-loader {
    color: var(--bl-text-secondary);
    font-size: var(--bl-font-size-sm);
    text-align: center;
    padding: var(--bl-space-8);
}

/* ==================== COUPON CONTAINER ==================== */

.coupon-container {
    display: flex;
    gap: var(--bl-space-3);
    margin: var(--bl-space-6) 0;
    width: 100%;
    box-sizing: border-box;
}

.coupon-container input {
    flex: 1;
    width: auto;
    max-width: calc(100% - 140px);
}

.coupon-container button {
    flex-shrink: 0;
    width: auto;
    padding: 0 var(--bl-space-6);
}

#coupon-status {
    font-size: var(--bl-font-size-sm);
    font-weight: var(--bl-font-weight-medium);
    margin-top: var(--bl-space-2);
    min-height: 20px;
}

/* ==================== PRICE SUMMARY ==================== */

.price-summary {
    background: #FFFFFF;
    border: 2px solid #2A9F87;
    border-radius: 12px;
    padding: var(--bl-space-6);
    margin: var(--bl-space-6) 0;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 4px 12px rgba(42, 159, 135, 0.1);
}

.price-summary h4 {
    font-family: var(--bl-font-family-heading);
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    margin: 0 0 var(--bl-space-4);
}

.price-summary p {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: var(--bl-space-2) 0;
    font-size: 16px;
    color: #000000;
}

.price-summary p strong {
    color: #000000;
    font-weight: 600;
}

.price-summary p:has(b) {
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    margin-top: var(--bl-space-4);
    padding-top: var(--bl-space-4);
    border-top: 2px solid #E0E0E0;
}

.price-summary p:has(b) strong {
    color: #2A9F87;
    font-size: 24px;
    font-weight: 700;
}

.price-summary hr {
    margin: var(--bl-space-4) 0;
    border: none;
    height: 2px;
    background: var(--bl-gray-200);
}

/* ==================== BUTTONS ==================== */

#booking-modal .button,
#booking-modal button:not(.close-button) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--bl-space-2);
    min-height: 56px;
    padding: var(--bl-space-4) var(--bl-space-6);
    font-family: var(--bl-font-family-heading);
    font-size: var(--bl-font-size-base);
    font-weight: var(--bl-font-weight-semibold);
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: var(--bl-radius-lg);
    cursor: pointer;
    transition: all var(--bl-transition-base);
    box-sizing: border-box;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* === Primary Button === */
#booking-modal .button,
#booking-modal .button-primary,
#booking-modal button[type="submit"],
#cash-booking-btn {
    background: #2A9F87 !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(42, 159, 135, 0.3) !important;
}

#booking-modal .button:hover,
#booking-modal .button-primary:hover,
#cash-booking-btn:hover {
    background: #228973 !important;
    box-shadow: 0 6px 16px rgba(42, 159, 135, 0.4) !important;
    transform: translateY(-2px) !important;
}

#booking-modal .button:active,
#booking-modal .button-primary:active,
#cash-booking-btn:active {
    background: #1a6f5d !important;
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(42, 159, 135, 0.3) !important;
}

/* === Secondary Button (Gutscheincode) === */
#booking-modal .button-secondary,
#apply-coupon-btn {
    background: #FFFFFF !important;
    color: #000000 !important;
    border: 2px solid #E0E0E0 !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    box-shadow: none !important;
}

#booking-modal .button-secondary:hover,
#apply-coupon-btn:hover {
    background: #2A9F87 !important;
    color: #FFFFFF !important;
    border-color: #2A9F87 !important;
    box-shadow: 0 4px 12px rgba(42, 159, 135, 0.2) !important;
}

#booking-modal .button-secondary:active,
#apply-coupon-btn:active {
    background: #228973 !important;
    color: #FFFFFF !important;
    border-color: #228973 !important;
}

/* === Disabled State === */
#booking-modal button:disabled,
#booking-modal .button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
}

/* === Loading State === */
#booking-modal button.loading,
#booking-modal .button.loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

#booking-modal button.loading::after,
#booking-modal .button.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spinner 0.6s linear infinite;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

/* ==================== PAYPAL CONTAINER ==================== */

#paypal-button-container {
    margin: var(--bl-space-6) 0;
    min-height: 56px;
}

/* ==================== NOTIFICATIONS & MESSAGES ==================== */

/* === Info Messages === */
#weekend-booking-notice,
#accessory-confirmation-container {
    padding: var(--bl-space-4);
    border-radius: var(--bl-radius-lg);
    font-size: var(--bl-font-size-sm);
    margin: var(--bl-space-4) 0;
    border-left: 4px solid;
    display: flex;
    gap: var(--bl-space-3);
}

#weekend-booking-notice {
    background: rgba(42, 159, 135, 0.08);
    border-color: var(--bl-primary);
    color: var(--bl-text-secondary);
}

#accessory-confirmation-container {
    background: rgba(243, 156, 18, 0.08);
    border-color: var(--bl-warning);
}

#accessory-confirmation-container label {
    display: flex;
    align-items: flex-start;
    gap: var(--bl-space-3);
    margin: 0;
    cursor: pointer;
}

#accessory-confirmation-container input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
}

/* === Error Messages === */
.error-message,
.field-error {
    display: block;
    color: var(--bl-error);
    font-size: var(--bl-font-size-sm);
    font-weight: var(--bl-font-weight-medium);
    margin-top: var(--bl-space-2);
    padding: var(--bl-space-2) var(--bl-space-3);
    background: rgba(231, 76, 60, 0.08);
    border-left: 3px solid var(--bl-error);
    border-radius: var(--bl-radius-sm);
}

/* === Success Messages === */
.success-message {
    display: block;
    color: var(--bl-success);
    font-size: var(--bl-font-size-sm);
    font-weight: var(--bl-font-weight-medium);
    margin-top: var(--bl-space-2);
    padding: var(--bl-space-2) var(--bl-space-3);
    background: rgba(39, 174, 96, 0.08);
    border-left: 3px solid var(--bl-success);
    border-radius: var(--bl-radius-sm);
}

/* ==================== BOOKING CONFIRMATION VIEW ==================== */

#booking-confirmation-view {
    display: none;
    text-align: center;
    padding: var(--bl-space-10) var(--bl-space-6);
}

#booking-modal.is-confirmed .booking-form-content {
    display: none;
}

#booking-modal.is-confirmed #booking-confirmation-view {
    display: block;
}

#booking-confirmation-view svg {
    margin: 0 auto var(--bl-space-6);
    animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

#booking-confirmation-view h2 {
    color: var(--bl-success);
    font-size: var(--bl-font-size-3xl);
    margin-bottom: var(--bl-space-3);
}

#booking-confirmation-view p {
    font-size: var(--bl-font-size-base);
    color: var(--bl-text-secondary);
    line-height: var(--bl-line-height-relaxed);
    margin-bottom: var(--bl-space-6);
}

#booking-summary-details {
    background: var(--bl-bg-secondary);
    border-radius: var(--bl-radius-lg);
    padding: var(--bl-space-6);
    text-align: left;
    margin-bottom: var(--bl-space-6);
}

/* ==================== AUTOFILL DROPDOWN ==================== */

.autofill-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: var(--bl-z-dropdown);
    background: var(--bl-bg-primary);
    border: 2px solid var(--bl-gray-300);
    border-radius: var(--bl-radius-lg);
    box-shadow: var(--bl-shadow-lg);
    max-height: 280px;
    overflow-y: auto;
    display: none;
}

.autofill-dropdown.is-visible {
    display: block;
}

.autofill-item {
    padding: var(--bl-space-3) var(--bl-space-4);
    cursor: pointer;
    transition: background var(--bl-transition-fast);
    border-bottom: 1px solid var(--bl-gray-100);
}

.autofill-item:last-child {
    border-bottom: none;
}

.autofill-item:hover,
.autofill-item.highlighted {
    background: rgba(var(--bl-primary-rgb), 0.08);
}

.autofill-item-email {
    font-size: var(--bl-font-size-sm);
    font-weight: var(--bl-font-weight-medium);
    color: var(--bl-text-primary);
    margin-bottom: var(--bl-space-1);
}

.autofill-item-details {
    font-size: var(--bl-font-size-xs);
    color: var(--bl-text-secondary);
}

/* ==================== RESPONSIVE DESIGN - TABLET ==================== */

@media (max-width: 1024px) {
    #booking-modal .modal-content {
        width: 95%;
        padding: var(--bl-space-6);
        margin: var(--bl-space-8) auto;
    }

    #booking-modal h2 {
        font-size: var(--bl-font-size-2xl);
    }

    .progress-step-circle {
        width: 48px;
        height: 48px;
        font-size: var(--bl-font-size-base);
    }

    .customer-details-grid {
        grid-template-columns: 1fr;
    }

    .customer-details-grid > div:has(#customer-email),
    .customer-details-grid > div:has(#customer-street) {
        grid-column: 1;
    }
}

/* ==================== RESPONSIVE DESIGN - MOBILE ==================== */

@media (max-width: 768px) {

    /* === Modal als Bottom Sheet === */
    #booking-modal {
        align-items: flex-end;
    }

    #booking-modal .modal-content {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: var(--bl-space-6) var(--bl-space-4) calc(var(--bl-space-6) + env(safe-area-inset-bottom));
        border-radius: var(--bl-radius-2xl) var(--bl-radius-2xl) 0 0;
        max-height: 92vh;
        overflow-y: auto;
        animation: slideUpMobile 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    @keyframes slideUpMobile {
        from {
            transform: translateY(100%);
        }
        to {
            transform: translateY(0);
        }
    }

    /* === Close Button Mobile === */
    #booking-modal .close-button {
        position: sticky;
        top: var(--bl-space-4);
        right: var(--bl-space-4);
        margin-left: auto;
        margin-bottom: calc(-48px - var(--bl-space-4));
        width: 44px;
        height: 44px;
        font-size: 1.5rem;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        box-shadow: var(--bl-shadow-lg);
    }

    /* === Header Mobile === */
    #booking-modal h2 {
        font-size: var(--bl-font-size-xl);
        margin-right: 0;
        margin-bottom: var(--bl-space-4);
    }

    /* === Progress Indicator Mobile === */
    .booking-progress {
        padding: var(--bl-space-4) 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin-bottom: var(--bl-space-4);
    }

    .progress-step {
        flex: 0 0 auto;
        min-width: 70px;
    }

    .progress-step-circle {
        width: 44px;
        height: 44px;
        font-size: var(--bl-font-size-sm);
    }

    .progress-step.active .progress-step-circle {
        box-shadow: 0 0 0 6px rgba(var(--bl-primary-rgb), 0.12),
                    var(--bl-shadow-sm);
    }

    .progress-step-label {
        font-size: 11px;
        max-width: 70px;
    }

    .progress-line {
        top: 30px;
    }

    /* === Booking Steps Mobile === */
    .booking-step {
        padding: var(--bl-space-4);
    }

    .booking-step h4 {
        font-size: var(--bl-font-size-base);
    }

    /* === Form Elements Mobile === */
    #booking-modal input,
    #booking-modal select,
    #booking-modal textarea {
        font-size: 16px; /* Verhindert iOS Zoom */
        min-height: 52px;
    }

    /* === Calendar Mobile === */
    #calendar-container {
        min-height: 380px;
    }

    /* ALTE FLATPICKR MOBILE STYLES ENTFERNT - siehe flatpickr-custom.css */

    /* === Buttons Mobile === */
    #booking-modal .button,
    #booking-modal button:not(.close-button) {
        width: 100%;
        min-height: 52px;
        padding: var(--bl-space-3) var(--bl-space-4);
        font-size: var(--bl-font-size-base);
    }

    /* === Coupon Container Mobile === */
    .coupon-container {
        flex-direction: column;
    }

    .coupon-container button {
        width: 100%;
    }

    /* === Pickup Times Mobile === */
    .pickup-times {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 14px;
    }

    /* === Contact Intro Text Mobile === */
    .contact-intro-text {
        margin-top: 0px !important;
        margin-bottom: 30px !important;
        font-size: 15px !important;
        line-height: 1.6 !important;
        padding: 0 10px !important;
    }

    /* === Delivery/Payment Options Mobile === */
    .delivery-options label,
    .payment-options label {
        min-height: 52px;
        padding: var(--bl-space-3);
    }
}

/* ==================== MOBILE - SMALL DEVICES ==================== */

@media (max-width: 380px) {
    #booking-modal .modal-content {
        padding: var(--bl-space-4) var(--bl-space-3) calc(var(--bl-space-4) + env(safe-area-inset-bottom));
    }

    #booking-modal h2 {
        font-size: var(--bl-font-size-lg);
    }

    .booking-step {
        padding: var(--bl-space-3);
    }

    .progress-step-circle {
        width: 40px;
        height: 40px;
        font-size: var(--bl-font-size-sm);
    }

    .price-summary {
        padding: var(--bl-space-4);
    }
}

/* ==================== ACCESSIBILITY ==================== */

/* === Focus Visible === */
#booking-modal *:focus-visible {
    outline: 3px solid var(--bl-primary);
    outline-offset: 2px;
}

#booking-modal button:focus-visible,
#booking-modal .button:focus-visible {
    outline-offset: 4px;
}

/* === Reduced Motion === */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* === High Contrast Mode === */
@media (prefers-contrast: high) {
    #booking-modal input,
    #booking-modal select,
    #booking-modal textarea,
    .booking-step,
    .delivery-options label,
    .payment-options label {
        border-width: 3px;
    }
}

/* ==================== PRINT STYLES ==================== */

@media print {
    #booking-modal {
        position: static;
        background: white;
    }

    #booking-modal .modal-content {
        box-shadow: none;
        max-width: 100%;
    }

    #booking-modal .close-button,
    #booking-modal button,
    #booking-modal .button {
        display: none;
    }
}

/* ==================== DARK MODE SUPPORT (Optional) ==================== */

@media (prefers-color-scheme: dark) {
    :root {
        --bl-bg-primary: #1F2937;
        --bl-bg-secondary: #111827;
        --bl-bg-tertiary: #374151;
        --bl-text-primary: #F9FAFB;
        --bl-text-secondary: #D1D5DB;
        --bl-text-tertiary: #9CA3AF;
        --bl-gray-300: #4B5563;
        --bl-gray-200: #374151;
        --bl-gray-100: #1F2937;
    }

    #booking-modal {
        background-color: rgba(0, 0, 0, 0.8);
    }

    #booking-modal input,
    #booking-modal select,
    #booking-modal textarea {
        background: var(--bl-bg-secondary);
        color: var(--bl-text-primary);
        border-color: var(--bl-gray-300);
    }
}

/* ==================== UTILITIES ==================== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.text-center {
    text-align: center;
}

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

/* ==================== END OF FILE ==================== */
/**
 * ==================================================================================
 * BABYLUGG LAYOUT OPTIMIZATIONS
 * ==================================================================================
 * Fixes:
 * 1. "Alle Mietartikel entdecken" Button - grÃ¶ÃŸerer Text, nicht abgeschnitten
 * 2. Hero-Section kompakter
 * 3. WhatsApp-Button besser positioniert
 * 4. Mobile Produktanzeige kompakter
 * ==================================================================================
 */

/* ==================== 1. ALLE MIETARTIKEL BUTTON FIX ==================== */

.button {
    /* Bessere GrÃ¶ÃŸe und Padding */
    padding: 16px 32px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    text-align: center !important;
    line-height: 1.4 !important;
}

.hero .button {
    /* Spezifisch fÃ¼r Hero-Button */
    min-width: 280px;
    font-size: 20px !important;
}

/* ==================== 2. HERO-SECTION KOMPAKTER ==================== */

.hero {
    padding: 60px 0 !important; /* Vorher: 100px */
}

.hero h1 {
    margin-bottom: 16px !important; /* Vorher: 20px */
}

.hero p {
    margin-bottom: 24px !important; /* Vorher: 30px */
}

section {
    padding: 50px 0 !important; /* Vorher: 70px */
}

.section-title {
    margin-bottom: 35px !important; /* Vorher: 50px */
}

.category-title {
    margin-top: 40px !important; /* Vorher: 60px */
    margin-bottom: 20px !important; /* Vorher: 30px */
}

/* ==================== 3. WHATSAPP-BUTTON POSITION FIX ==================== */

.whatsapp-fab {
    position: fixed !important;
    bottom: 80px !important; /* HÃ¶her als die Ecke */
    right: 20px !important;
    z-index: 999 !important; /* Niedriger, um nicht stÃ¶rend zu sein */
    width: 50px !important; /* Kleiner */
    height: 50px !important; /* Kleiner */
    box-sizing: border-box !important;
    background-color: #25D366 !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important; /* Sanfterer Schatten */
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    opacity: 0.9 !important; /* Leicht transparent, weniger aufdringlich */
}

.whatsapp-fab:hover {
    transform: scale(1.08) !important; /* Sanfterer Hover-Effekt */
    opacity: 1 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

.whatsapp-fab img {
    width: 26px !important; /* Kleineres Icon */
    height: 26px !important;
    display: block !important;
}

/* Mobile: WhatsApp unten rechts, noch dezenter */
@media (max-width: 768px) {
    .whatsapp-fab {
        bottom: 70px !important; /* HÃ¶her als Ecke, Ã¼berlappiert nicht mit Cookie-Banner */
        right: 16px !important;
        width: 48px !important;
        height: 48px !important;
        opacity: 0.85 !important;
    }

    .whatsapp-fab img {
        width: 24px !important;
        height: 24px !important;
    }
}

/* Extra kleine Bildschirme */
@media (max-width: 380px) {
    .whatsapp-fab {
        bottom: 60px !important;
        right: 12px !important;
        width: 46px !important;
        height: 46px !important;
    }

    .whatsapp-fab img {
        width: 22px !important;
        height: 22px !important;
    }
}

/* ==================== 4. MOBILE PRODUKTANZEIGE KOMPAKTER ==================== */

@media (max-width: 768px) {

    /* Hero kompakter auf Mobile */
    .hero {
        padding: 40px 0 !important;
    }

    .hero h1 {
        font-size: 2rem !important; /* Kleiner */
        margin-bottom: 12px !important;
    }

    .hero p {
        font-size: 1rem !important;
        margin-bottom: 20px !important;
    }

    .hero .button {
        font-size: 16px !important;
        padding: 14px 28px !important;
        min-width: 240px;
    }

    /* Sections kompakter */
    section {
        padding: 30px 0 !important; /* Deutlich reduziert */
    }

    .section-title {
        font-size: 24px !important;
        margin-bottom: 20px !important;
    }

    .category-title {
        font-size: 20px !important;
        margin-top: 20px !important;
        margin-bottom: 16px !important;
    }

    /* Product-Grid kompakter */
    .product-grid {
        grid-template-columns: repeat(2, 1fr) !important; /* 2 Spalten statt 1 */
        gap: 16px !important; /* Vorher: 30px */
    }

    .product-card {
        padding: 0 !important;
    }

    .product-card img {
        height: 140px !important; /* Vorher: 250px */
        padding: 8px !important;
    }

    .product-info {
        padding: 12px !important; /* Vorher: 20px */
    }

    .product-info h3 {
        font-size: 14px !important;
        min-height: auto !important;
        margin-bottom: 6px !important;
        line-height: 1.3 !important;
    }

    .product-price {
        font-size: 14px !important;
        margin-bottom: 8px !important;
    }

    /* Category-Tabs kompakter */
    .category-tabs {
        margin-bottom: 20px !important;
        gap: 8px !important;
    }

    .tab-button {
        padding: 8px 16px !important;
        font-size: 13px !important;
    }

    /* Container Padding reduzieren */
    .container {
        padding: 0 16px !important; /* Vorher: 20px */
    }
}

/* ==================== SEHR KLEINE MOBILE GERÃ„TE ==================== */

@media (max-width: 380px) {

    /* Product-Grid noch kompakter */
    .product-grid {
        gap: 12px !important;
    }

    .product-card img {
        height: 120px !important;
    }

    .product-info {
        padding: 10px !important;
    }

    .product-info h3 {
        font-size: 13px !important;
    }

    .product-price {
        font-size: 13px !important;
    }

    .hero .button {
        font-size: 15px !important;
        padding: 12px 24px !important;
        min-width: 200px;
    }
}

/* ==================== TABLET OPTIMIERUNG ==================== */

@media (min-width: 769px) and (max-width: 1024px) {

    /* Product-Grid 3 Spalten */
    .product-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 20px !important;
    }

    .product-card img {
        height: 180px !important;
    }

    .hero {
        padding: 70px 0 !important;
    }

    section {
        padding: 40px 0 !important;
    }
}

/* ==================== BESSERE SPACING ALLGEMEIN ==================== */

/* Filter-Container kompakter */
.filter-container {
    margin-bottom: 24px !important;
}

/* How-it-Works kompakter */
.how-it-works-grid {
    gap: 24px !important;
}

@media (max-width: 768px) {
    .how-it-works-grid {
        gap: 16px !important;
    }

    .step-icon {
        width: 40px !important;
        height: 40px !important;
        font-size: 20px !important;
    }
}

/* ==================== SCROLL-PERFORMANCE ==================== */

/* Smooth-Scrolling fÃ¼r besseres UX */
html {
    scroll-behavior: smooth;
}

/* Verhindere horizontales Scrollen */
body {
    overflow-x: hidden !important;
}

.container {
    max-width: var(--container-width);
    overflow-x: hidden;
}

/* ==================== 5. VIDEO-BUTTON FIX (PRODUKT-DETAIL-MODAL) ==================== */

/* Video-Button im Produkt-Detail-Modal */
#product-detail-modal .button-secondary {
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px !important;
    font-size: 15px !important;
    white-space: normal !important;
    text-align: center !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    line-height: 1.4 !important;
}

#product-detail-modal .button-secondary svg {
    flex-shrink: 0 !important;
    width: 18px !important;
    height: 18px !important;
}

#product-detail-modal .modal-buttons {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
}

#product-detail-modal .modal-buttons .button,
#product-detail-modal .modal-buttons .button-secondary {
    width: 100% !important;
}

/* Mobile: Video-Button kompakter */
@media (max-width: 768px) {
    #product-detail-modal .button-secondary {
        font-size: 14px !important;
        padding: 10px 16px !important;
    }

    #product-detail-modal .button-secondary svg {
        width: 16px !important;
        height: 16px !important;
    }
}

/* ==================== END ==================== */
/**
 * ==================================================================================
 * KALENDER FIX - BABYLUGG
 * ==================================================================================
 * Behebt:
 * 1. Doppeltes Kalender-Rendering (versteckt Flatpickr Input)
 * 2. Stellt sicher, dass Monatsanzeige sichtbar ist
 * 3. Optimiert Kalender-Layout
 * ==================================================================================
 */

/* ==================== 1. FLATPICKR INPUT VERSTECKEN ==================== */

/* Das unsichtbare Input-Element, das Flatpickr erstellt, vollstÃ¤ndig verstecken */
#calendar-container input[type="text"].flatpickr-input {
    display: none !important;
    height: 0 !important;
    width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
}

/* Alle versteckten Flatpickr-Inputs */
.flatpickr-input[readonly] {
    display: none !important;
}

/* ==================== 2. KALENDER CONTAINER ==================== */

#calendar-container {
    width: 100%;
    position: relative;
    min-height: 320px;
}

/* Der sichtbare Flatpickr-Kalender */
#calendar-container .flatpickr-calendar {
    width: 100% !important;
    margin: 0 auto !important;
    box-shadow: none !important;
    position: relative !important;
    display: block !important;
}

/* ==================== 3. MONATSANZEIGE FIX ==================== */

/* Stelle sicher, dass der Monat-Header sichtbar ist */
.flatpickr-months {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    min-height: 50px !important; /* Mehr Platz fÃ¼r kompletten Dropdown-Rahmen */
    padding: 8px 0 !important;
    overflow: visible !important; /* Verhindert Abschneiden */
}

.flatpickr-month {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    align-items: center !important; /* Vertikale Zentrierung */
    overflow: visible !important; /* Verhindert Abschneiden */
}

.flatpickr-current-month {
    display: flex !important;
    flex-direction: row !important; /* Nebeneinander statt untereinander */
    justify-content: center !important; /* Horizontal zentriert */
    gap: 8px !important; /* Abstand zwischen Monat und Jahr */
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    min-height: 36px !important; /* Genug Platz fÃ¼r Dropdown mit Rahmen */
    font-size: 14px !important; /* Kleinere Schrift */
    font-weight: 600 !important;
    color: #000000 !important;
    padding: 4px 0 !important; /* Reduziertes Padding oben/unten */
    line-height: 1.2 !important;
    align-items: center !important; /* Vertikale Zentrierung */
    overflow: visible !important; /* Verhindert Abschneiden */
}

/* Monat-Dropdown - WICHTIG: Muss sichtbar sein! */
.flatpickr-current-month .flatpickr-monthDropdown-months {
    visibility: visible !important;
    opacity: 1 !important;
    display: inline-block !important;
    appearance: auto !important;
    font-size: 13px !important; /* Kleiner */
    font-weight: 600 !important;
    color: #000000 !important;
    background: #FFFFFF !important;
    border: 1px solid #CCCCCC !important; /* Sichtbarer Rahmen */
    border-radius: 4px !important;
    padding: 2px 6px !important; /* Kompakteres Padding */
    margin: 0 !important;
    cursor: pointer !important;
    height: 28px !important; /* Kompakter */
    min-width: 100px !important; /* Feste Mindestbreite */
    max-width: 120px !important;
    line-height: 1.3 !important;
    vertical-align: middle !important;
    box-sizing: border-box !important; /* Wichtig fÃ¼r korrekte HÃ¶he mit Border */
}

/* Jahres-Input */
.flatpickr-current-month .numInputWrapper {
    visibility: visible !important;
    opacity: 1 !important;
    display: inline-block !important;
    height: auto !important;
    margin: 0 !important;
}

.flatpickr-current-month input.cur-year {
    visibility: visible !important;
    opacity: 1 !important;
    display: inline-block !important;
    font-size: 13px !important; /* Kleiner */
    font-weight: 600 !important;
    color: #424242 !important;
    background: #FFFFFF !important;
    border: 1px solid #CCCCCC !important;
    border-radius: 4px !important;
    padding: 2px 6px !important; /* Kompakteres Padding */
    margin: 0 !important;
    width: 55px !important; /* Schmaler */
    height: 28px !important; /* Gleiche HÃ¶he wie Dropdown */
    line-height: 1.3 !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
    text-align: center !important; /* Jahr zentriert */
}

/* Monat- und Jahres-Text sichtbar machen */
.flatpickr-current-month span.cur-month {
    visibility: visible !important;
    opacity: 1 !important;
    display: inline-block !important;
    font-size: 13px !important; /* Kleiner */
    font-weight: 600 !important;
    color: #000000 !important;
    padding: 2px 6px !important;
    margin: 0 !important;
    height: 28px !important; /* Gleiche HÃ¶he */
    line-height: 1.3 !important;
    vertical-align: middle !important;
}

/* Trennzeichen zwischen Monat und Jahr - entfernen oder verstecken */
.flatpickr-current-month .flatpickr-monthDropdown-month {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #000000 !important;
}

/* Verstecke Trennzeichen/Leerzeichen zwischen Monat und Jahr */
.flatpickr-current-month .arrowUp,
.flatpickr-current-month .arrowDown {
    display: none !important; /* Verstecke Pfeile im Jahres-Input */
}

/* ==================== 4. NAVIGATION BUTTONS ==================== */

.flatpickr-prev-month,
.flatpickr-next-month {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* ==================== 5. KALENDER GRID ==================== */

.flatpickr-days {
    width: 100% !important;
}

.dayContainer {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
}

/* ==================== 6. LOADER ==================== */

.calendar-loader {
    text-align: center;
    padding: 40px 20px;
    color: #888;
    font-size: 15px;
}

/* ==================== 7. BOOKING MODAL SPEZIFISCH ==================== */

/* Ãœberschreibe booking-text-fix.css fÃ¼r die Monatsanzeige */
#booking-modal .flatpickr-current-month,
#booking-modal .flatpickr-current-month *,
#booking-modal .flatpickr-current-month select,
#booking-modal .flatpickr-current-month input,
#booking-modal .flatpickr-current-month span {
    color: #000000 !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: inline-block !important;
}

#booking-modal .flatpickr-monthDropdown-months,
#booking-modal select.flatpickr-monthDropdown-months {
    color: #000000 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: inline-block !important;
    height: 28px !important;
    line-height: 1.3 !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
}

#booking-modal input.cur-year {
    color: #424242 !important;
    font-size: 13px !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: inline-block !important;
    height: 28px !important;
    line-height: 1.3 !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
}

/* ==================== 8. MOBILE OPTIMIERUNG ==================== */

@media (max-width: 768px) {
    #calendar-container {
        min-height: 280px;
    }

    .flatpickr-current-month {
        font-size: 12px !important;
        gap: 6px !important;
    }

    .flatpickr-current-month .flatpickr-monthDropdown-months {
        font-size: 12px !important;
        height: 26px !important;
        min-width: 90px !important;
    }

    .flatpickr-current-month input.cur-year {
        font-size: 12px !important;
        height: 26px !important;
        width: 50px !important;
    }

    #booking-modal .flatpickr-monthDropdown-months {
        font-size: 12px !important;
        height: 26px !important;
    }

    #booking-modal input.cur-year {
        font-size: 12px !important;
        height: 26px !important;
    }
}

/* ==================== 8. DEBUGGING (Optional - kann entfernt werden) ==================== */

/* Zum Debuggen: Zeigt alle Kinder des Containers
#calendar-container > * {
    outline: 1px solid red;
}
*/
/**
 * ==================================================================================
 * BOOKING MODAL TEXT FIX
 * ==================================================================================
 * Ãœberschreibt ALLE Textfarben im Booking-Modal zu Schwarz
 * Wird als letztes CSS geladen um alle anderen Styles zu Ã¼berschreiben
 * ==================================================================================
 */

/* ALLE TEXTE SCHWARZ MACHEN */
#booking-modal,
#booking-modal *,
#booking-modal p,
#booking-modal span,
#booking-modal div,
#booking-modal label,
#booking-modal h1,
#booking-modal h2,
#booking-modal h3,
#booking-modal h4,
#booking-modal h5,
#booking-modal h6 {
    color: #000000 !important;
}

/* Buttons behalten weiÃŸe Schrift */
#booking-modal .button,
#booking-modal .button-primary,
#booking-modal button[type="submit"],
#cash-booking-btn {
    color: #FFFFFF !important;
}

/* Platzhalter-Text grau */
#booking-modal input::placeholder,
#booking-modal textarea::placeholder {
    color: #9E9E9E !important;
}

/* Kalender Pfeile - WEISS auf TÃœRKIS (statisch, kein Hover) */
.calendar-nav-btn,
.calendar-nav-btn svg,
.calendar-nav-btn svg path {
    color: #FFFFFF !important;
    stroke: #FFFFFF !important;
    fill: none !important;
}

.calendar-nav-btn:hover,
.calendar-nav-btn:hover svg,
.calendar-nav-btn:hover svg path {
    color: #FFFFFF !important;
    stroke: #FFFFFF !important;
}

/* Disabled Text heller aber noch sichtbar */
#booking-modal .is-disabled *,
#booking-modal [disabled] *,
#booking-modal .calendar-day-disabled {
    color: #757575 !important;
}

/* AusgewÃ¤hlte Kalender-Tage mit weiÃŸem Text */
.calendar-day-selected,
.calendar-day-selected * {
    color: #FFFFFF !important;
}
/**
 * ==================================================================================
 * PRODUCT IMAGE SLIDER
 * ==================================================================================
 * Mobile-First Slideshow mit Swipe-Gesten und Desktop-Pfeilen
 * ==================================================================================
 */

/* ==================================================================================
   CONTAINER & TRACK
   ================================================================================== */

.product-image-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1; /* Quadratisches Format - passt am besten fÃ¼r Produktbilder */
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    background: #ffffff; /* Reines WeiÃŸ - keine Balken sichtbar */
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    padding: 0;
    box-sizing: border-box;
}

.slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    /* ErmÃ¶glicht vertikales Scrollen, horizontales Wischen */
    touch-action: pan-y pinch-zoom;
}

.slide {
    min-width: 100%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0 10px; /* 10px links und rechts = 20px Abstand zwischen Slides */
    box-sizing: border-box;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Contain zeigt ganzes Produkt */
    object-position: center;
    pointer-events: none;
    user-select: none;
    transform: scale(1.15); /* Zoom um schwarze RÃ¤nder des Bildes zu clippen */
}

/* ==================================================================================
   DESKTOP CONTROLS (ARROWS) - Modern, subtil wie bei Apple
   ================================================================================== */

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95); /* Hellerer Hintergrund fÃ¼r bessere Sichtbarkeit */
    color: #2A9F87; /* Babylugg Primary Color - gut sichtbar */
    border: 1px solid rgba(42, 159, 135, 0.2); /* Leichter Rand in Primary Color */
    width: 36px;
    height: 36px;
    border-radius: 50%; /* Perfekter Kreis */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px; /* GrÃ¶ÃŸere Icons */
    font-weight: 900; /* Fettere Icons */
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    z-index: 10;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15),
                0 1px 4px rgba(0, 0, 0, 0.08);
}

.slider-btn:hover {
    background: #2A9F87; /* Primary Color beim Hover */
    color: white; /* WeiÃŸe Icons beim Hover */
    border-color: #2A9F87;
    box-shadow: 0 4px 16px rgba(42, 159, 135, 0.3),
                0 2px 8px rgba(42, 159, 135, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn:active {
    transform: translateY(-50%) scale(0.95);
    box-shadow: 0 2px 6px rgba(42, 159, 135, 0.2);
}

.slider-btn.prev {
    left: 12px;
}

.slider-btn.prev::before {
    content: 'â€¹'; /* Linker Pfeil als CSS-Symbol */
    font-size: 28px;
    line-height: 1;
    font-weight: 300;
}

.slider-btn.next {
    right: 12px;
}

.slider-btn.next::before {
    content: 'â€º'; /* Rechter Pfeil als CSS-Symbol */
    font-size: 28px;
    line-height: 1;
    font-weight: 300;
}

/* Verstecke FontAwesome Icons (falls vorhanden) */
.slider-btn i {
    display: none;
}

/* Zeige Pfeile nur auf Desktop beim Hover */
@media (min-width: 769px) {
    .product-image-slider:hover .slider-btn {
        opacity: 1;
    }
}

/* Mobile: Pfeile ausblenden (nur Swipe) */
@media (max-width: 768px) {
    .slider-btn {
        display: none;
    }
}

/* ==================================================================================
   INDICATOR DOTS - Modern wie bei Apple
   ================================================================================== */

.slider-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
    padding: 8px 14px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 24px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    padding: 0;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.85);
    transform: scale(1.15);
}

.dot.active {
    background: white;
    width: 20px;
    border-radius: 3px;
}

/* Mobile: Kleinere Dots und weniger Zoom */
@media (max-width: 768px) {
    .slider-dots {
        bottom: 8px;
        padding: 4px 8px;
        gap: 6px;
    }

    .dot {
        width: 6px;
        height: 6px;
    }

    .dot.active {
        width: 18px;
    }

    /* Zoom auf Mobile fÃ¼r Slider-Bilder */
    .slide img {
        object-fit: cover !important; /* COVER statt contain - erzwingt Zoom */
        width: 100% !important;
        height: 100% !important;
        transform: scale(1.1) !important; /* 110% Zoom - minimal aber effektiv */
    }

    /* Zoom auf Mobile fÃ¼r Single-Bilder */
    .product-image-single img {
        object-fit: cover !important; /* COVER statt contain - erzwingt Zoom */
        width: 100% !important;
        height: 100% !important;
        transform: scale(1.1) !important; /* 110% Zoom - minimal aber effektiv */
    }
}

/* ==================================================================================
   SINGLE IMAGE (KEIN SLIDER)
   ================================================================================== */

.product-image-single {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1; /* Quadratisches Format - passt am besten fÃ¼r Produktbilder */
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    background: #ffffff; /* Reines WeiÃŸ - keine Balken sichtbar */
    padding: 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-single img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Contain zeigt ganzes Produkt */
    object-position: center;
    transform: scale(1.15); /* Zoom um schwarze RÃ¤nder des Bildes zu clippen */
}

/* ==================================================================================
   ACCESSIBILITY
   ================================================================================== */

.slider-btn:focus,
.dot:focus {
    outline: 2px solid #2A9F87;
    outline-offset: 2px;
}

.slider-btn:focus:not(:focus-visible),
.dot:focus:not(:focus-visible) {
    outline: none;
}

/* Screen Reader Only Text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ==================================================================================
   PERFORMANCE OPTIMIZATIONS
   ================================================================================== */

/* GPU-Beschleunigung fÃ¼r smooth animations */
.slider-track,
.slider-btn {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* Verhindere Text-Selection wÃ¤hrend Drag */
.product-image-slider.dragging {
    cursor: grabbing !important;
}

.product-image-slider.dragging * {
    user-select: none !important;
    -webkit-user-select: none !important;
}

/* ==================================================================================
   LOADING STATE
   ================================================================================== */

.product-image-slider.loading {
    background: linear-gradient(
        90deg,
        #f5f5f5 25%,
        #e0e0e0 50%,
        #f5f5f5 75%
    );
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* ==================================================================================
   PRODUCT CARD INTEGRATION
   ================================================================================== */

/* Entferne Border von Product Card fÃ¼r cleanes Design */
.product-card {
    border: none !important;
}

/* Stelle sicher, dass Slider gleiche HÃ¶he wie bisheriges Bild hat */
.product-card .product-image-slider,
.product-card .product-image-single {
    border-radius: 12px 12px 0 0;
    border: none;
}

/* Verhindere Layout-Shift */
.product-card picture,
.product-card .product-image-container {
    display: block;
    width: 100%;
}

/* ==================================================================================
   TOUCH FEEDBACK (MOBILE)
   ================================================================================== */

@media (max-width: 768px) {
    .product-image-slider {
        -webkit-tap-highlight-color: transparent;
    }

    /* Visuelle Feedback beim Wischen */
    .product-image-slider.swiping .slider-track {
        transition: none;
    }
}

/* ==================================================================================
   DARK MODE SUPPORT (OPTIONAL)
   ================================================================================== */

@media (prefers-color-scheme: dark) {
    .product-image-slider,
    .product-image-single {
        background: #2a2a2a;
    }

    .slider-btn {
        background: rgba(255, 255, 255, 0.3);
    }

    .slider-btn:hover {
        background: rgba(255, 255, 255, 0.5);
    }

    .slider-dots {
        background: rgba(255, 255, 255, 0.2);
    }

    .dot {
        background: rgba(0, 0, 0, 0.5);
    }

    .dot:hover {
        background: rgba(0, 0, 0, 0.7);
    }

    .dot.active {
        background: #000;
    }
}
/**
 * ==================================================================================
 * KEY FACTS FIX - LinksbÃ¼ndige Labels
 * ==================================================================================
 * Macht Key Facts (wie "Inhalt") linksbÃ¼ndig mit Wert rechts daneben
 * ==================================================================================
 */

.key-facts ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.key-facts ul li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.key-facts ul li:last-child {
    border-bottom: none;
}

/* Label linksbÃ¼ndig */
.key-facts ul li span {
    flex: 0 0 auto;
    font-weight: 500;
    color: #666;
    margin-right: 20px;
    min-width: 80px; /* Mindestbreite fÃ¼r Labels */
}

/* Wert rechtsbÃ¼ndig */
.key-facts ul li strong {
    flex: 1 1 auto;
    text-align: right;
    font-weight: 600;
    color: #333;
}

/* Responsive: Mobile */
@media (max-width: 768px) {
    .key-facts ul li {
        padding: 8px 0;
    }

    .key-facts ul li span {
        min-width: 60px;
        margin-right: 15px;
        font-size: 14px;
    }

    .key-facts ul li strong {
        font-size: 14px;
    }
}
/**
 * ==================================================================================
 * SKELETON LOADER STYLES
 * ==================================================================================
 * Moderne Loading States fÃ¼r bessere UX
 * ==================================================================================
 */

/* ==================== SKELETON BASE ==================== */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: 4px;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* ==================== SKELETON PRODUCT CARD ==================== */
.skeleton-product-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    padding: 0;
}

.skeleton-product-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
}

.skeleton-product-info {
    padding: 20px;
}

.skeleton-title {
    height: 20px;
    width: 80%;
    margin-bottom: 12px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: 4px;
}

.skeleton-text {
    height: 14px;
    width: 60%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: 4px;
}

/* ==================== SKELETON GRID ==================== */
.skeleton-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

/* ==================== LOADING OVERLAY ==================== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.3s;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f0f0f0;
    border-top-color: var(--primary-color, #2A9F87);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-text {
    margin-top: 16px;
    font-size: 16px;
    color: var(--text-secondary, #64748b);
    text-align: center;
}

/* ==================== INLINE LOADING STATE ==================== */
.loading-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary, #64748b);
}

.loading-state i {
    font-size: 32px;
    color: var(--primary-color, #2A9F87);
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading-state p {
    margin-top: 12px;
    font-size: 14px;
}

/* ==================== SHIMMER EFFECT (Alternative) ==================== */
.shimmer {
    position: relative;
    overflow: hidden;
    background: #f6f7f8;
}

.shimmer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.6),
        transparent
    );
    animation: shimmer-slide 1.5s infinite;
}

@keyframes shimmer-slide {
    to {
        left: 100%;
    }
}

/* ==================== PROGRESS BAR ==================== */
.progress-bar {
    width: 100%;
    height: 4px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    background: var(--primary-color, #2A9F87);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-bar-indeterminate {
    position: absolute;
    width: 30%;
    height: 100%;
    background: var(--primary-color, #2A9F87);
    animation: progress-indeterminate 1.5s infinite;
}

@keyframes progress-indeterminate {
    0% {
        left: -30%;
    }
    100% {
        left: 100%;
    }
}

/* ==================== SKELETON VARIATIONS ==================== */
.skeleton-circle {
    border-radius: 50%;
}

.skeleton-line {
    height: 12px;
    margin-bottom: 8px;
}

.skeleton-line:last-child {
    width: 75%;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .skeleton-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .skeleton-product-image {
        height: 180px;
    }
}

/* ==================================================================================
 * NEUE FEATURES CSS - Babylugg 7.0
 * ==================================================================================
 * Styles fÃ¼r VerfÃ¼gbarkeits-Anzeige, Cross-Selling, Dynamisches Pricing
 * ==================================================================================
 */

/* ==================== VERFÃœGBARKEITS-ANZEIGE ==================== */
.availability-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    margin: 10px 0;
    text-align: center;
}

.availability-available {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.availability-limited {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.availability-unavailable {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.availability-loading {
    background-color: #e9ecef;
    color: #6c757d;
    animation: pulse 1.5s ease-in-out infinite;
}

/* ==================== CROSS-SELLING EMPFEHLUNGEN ==================== */
.recommendations-widget {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    margin: 40px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.recommendations-widget h3 {
    margin-bottom: 24px;
    font-size: 24px;
    color: var(--secondary-color, #591670);
    text-align: left;
    border-bottom: none;
}

.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.recommendation-card {
    background: white;
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.recommendation-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.recommendation-card img {
    width: 100%;
    height: 140px;
    object-fit: contain;
    border-radius: 6px;
    margin-bottom: 12px;
}

.recommendation-card h4 {
    margin: 10px 0 8px;
    font-size: 15px;
    color: var(--text-color, #333);
    min-height: 40px;
    line-height: 1.3;
}

.recommendation-card .price {
    color: var(--primary-color, #2A9F87);
    font-weight: bold;
    font-size: 16px;
    margin: 8px 0 12px;
}

.btn-add-recommendation {
    background-color: var(--primary-color, #2A9F87);
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    width: 100%;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-add-recommendation:hover {
    background-color: #008080;
    transform: scale(1.02);
}

.btn-add-recommendation:active {
    transform: scale(0.98);
}

/* ==================== DYNAMISCHES PRICING ==================== */
.discount-badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 14px 24px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 17px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    animation: discount-pulse 2s infinite;
    margin: 16px 0;
    text-align: center;
}

@keyframes discount-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    }
}

.price-breakdown {
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.price-breakdown h4 {
    margin: 0 0 16px 0;
    color: var(--primary-color, #2A9F87);
    font-size: 18px;
}

.price-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 15px;
}

.price-line:last-child {
    border-bottom: none;
}

.price-line.discount {
    color: #28a745;
    font-weight: 600;
}

.price-line.total {
    font-size: 22px;
    font-weight: bold;
    color: var(--primary-color, #2A9F87);
    margin-top: 12px;
    padding-top: 16px;
    border-top: 2px solid var(--primary-color, #2A9F87);
}

.price-line .price {
    font-weight: 600;
}

.price-line .price.discount {
    color: #28a745;
}

.savings-highlight {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    padding: 14px;
    border-radius: 8px;
    margin-top: 16px;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
    border: 1px solid #c3e6cb;
    box-shadow: 0 2px 8px rgba(21, 87, 36, 0.1);
}

/* ==================== RESPONSIVE MOBILE ==================== */
@media (max-width: 768px) {
    .recommendations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .recommendation-card {
        padding: 12px;
    }

    .recommendation-card img {
        height: 120px;
    }

    .recommendation-card h4 {
        font-size: 14px;
        min-height: 35px;
    }

    .recommendations-widget {
        padding: 20px;
        margin: 30px 0;
    }

    .discount-badge {
        font-size: 15px;
        padding: 12px 20px;
    }

    .price-breakdown {
        padding: 16px;
    }

    .price-line {
        font-size: 14px;
    }

    .price-line.total {
        font-size: 20px;
    }

    .savings-highlight {
        font-size: 16px;
        padding: 12px;
    }
}
/**
 * ==================================================================================
 * FLATPICKR CUSTOM STYLES - BABYLUGG
 * ==================================================================================
 * SchÃ¶nes, Ã¼bersichtliches Design
 * Mobile-First mit perfekter Touch-UnterstÃ¼tzung
 * Basiert auf Flatpickr Base CSS
 * ==================================================================================
 */

/* ==================================================================================
   CALENDAR CONTAINER
   ==================================================================================*/

.flatpickr-calendar {
    width: 100% !important;
    max-width: 400px !important;
    background: #FFFFFF !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    border: 2px solid #E0E0E0 !important;
    padding: 16px !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif !important;
    margin: 0 auto !important;
}

.flatpickr-calendar.inline {
    display: block !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
}

/* ==================================================================================
   MONTH NAVIGATION
   ==================================================================================*/

.flatpickr-months {
    padding: 8px 0 16px 0 !important;
    border-bottom: 2px solid #E0E0E0 !important;
    margin-bottom: 16px !important;
}

.flatpickr-month {
    height: auto !important;
    color: #000000 !important;
}

.flatpickr-current-month {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #000000 !important;
    padding: 0 !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
    font-weight: 700 !important;
    color: #000000 !important;
    background: transparent !important;
}

.numInputWrapper input.cur-year {
    font-weight: 600 !important;
    color: #424242 !important;
    font-size: 16px !important;
}

/* Navigation Buttons */
.flatpickr-prev-month,
.flatpickr-next-month {
    width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #2A9F87 !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
}

.flatpickr-prev-month:hover,
.flatpickr-next-month:hover {
    background: #228973 !important;
    transform: scale(1.05) !important;
}

.flatpickr-prev-month svg,
.flatpickr-next-month svg {
    fill: #FFFFFF !important;
    width: 16px !important;
    height: 16px !important;
}

/* ==================================================================================
   WEEKDAYS
   ==================================================================================*/

.flatpickr-weekdays {
    height: auto !important;
    padding: 8px 0 !important;
    margin-bottom: 8px !important;
}

.flatpickr-weekday {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #000000 !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
}

/* ==================================================================================
   DAYS GRID
   ==================================================================================*/

.flatpickr-days {
    width: 100% !important;
}

.dayContainer {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    gap: 4px !important;
}

.flatpickr-day {
    max-height: none !important;
    aspect-ratio: 1 !important;
    line-height: 1 !important;
    border-radius: 8px !important;
    border: 2px solid #E0E0E0 !important;
    color: #000000 !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #FFFFFF !important;
    transition: all 0.2s ease !important;
    margin: 0 !important;
    /* Touch target fÃ¼r Accessibility */
    min-height: 44px !important;
    min-width: 44px !important;
}

/* Hover State */
.flatpickr-day:hover {
    background: #FFFFFF !important;
    border-color: #2A9F87 !important;
    color: #2A9F87 !important;
    transform: scale(1.05) !important;
}

/* Today */
.flatpickr-day.today {
    border-color: #2A9F87 !important;
    color: #2A9F87 !important;
    font-weight: 700 !important;
    background: #FFFFFF !important;
}

.flatpickr-day.today:hover {
    border-color: #2A9F87 !important;
    color: #2A9F87 !important;
    background: #F0FDF9 !important;
}

/* Selected (Start/End Date) */
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
    background: #2A9F87 !important;
    border-color: #2A9F87 !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
    transform: scale(1.05) !important;
}

.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover {
    background: #228973 !important;
    border-color: #228973 !important;
}

/* In Range (between Start and End) */
.flatpickr-day.inRange {
    background: #E8F5F3 !important;
    border-color: #A5D8CC !important;
    color: #2A9F87 !important;
    box-shadow: none !important;
}

.flatpickr-day.inRange:hover {
    background: #D4EDE8 !important;
    border-color: #2A9F87 !important;
}

/* Disabled/Past Dates */
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover,
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
    color: #BDBDBD !important;
    cursor: not-allowed !important;
    background: #F5F5F5 !important;
    border-color: #E0E0E0 !important;
    transform: none !important;
}

/* Strikethrough fÃ¼r geblockte Daten */
.flatpickr-day.flatpickr-disabled {
    position: relative !important;
}

.flatpickr-day.flatpickr-disabled::after {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 15% !important;
    right: 15% !important;
    height: 2px !important;
    background: #BDBDBD !important;
    transform: translateY(-50%) rotate(-45deg) !important;
}

/* Hidden Days (outside month) */
.flatpickr-day.hidden {
    visibility: hidden !important;
}

/* ==================================================================================
   MOBILE OPTIMIZATIONS
   ==================================================================================*/

@media (max-width: 768px) {
    .flatpickr-calendar {
        max-width: 100% !important;
        padding: 12px !important;
        border-radius: 8px !important;
    }

    .flatpickr-months {
        padding: 6px 0 12px 0 !important;
        margin-bottom: 12px !important;
    }

    .flatpickr-current-month {
        font-size: 16px !important;
    }

    .numInputWrapper input.cur-year {
        font-size: 14px !important;
    }

    .flatpickr-prev-month,
    .flatpickr-next-month {
        width: 36px !important;
        height: 36px !important;
    }

    .flatpickr-weekday {
        font-size: 12px !important;
        padding: 6px 2px !important;
    }

    .flatpickr-day {
        font-size: 14px !important;
        border-radius: 6px !important;
        min-height: 40px !important;
        min-width: 40px !important;
    }

    .dayContainer {
        gap: 2px !important;
    }
}

/* Extra Small Screens */
@media (max-width: 360px) {
    .flatpickr-calendar {
        padding: 8px !important;
    }

    .flatpickr-current-month {
        font-size: 15px !important;
    }

    .numInputWrapper input.cur-year {
        font-size: 13px !important;
    }

    .flatpickr-prev-month,
    .flatpickr-next-month {
        width: 32px !important;
        height: 32px !important;
    }

    .flatpickr-day {
        font-size: 13px !important;
        min-height: 36px !important;
        min-width: 36px !important;
    }
}

/* ==================================================================================
   ACCESSIBILITY
   ==================================================================================*/

.flatpickr-day:focus,
.flatpickr-prev-month:focus,
.flatpickr-next-month:focus {
    outline: 3px solid #2A9F87 !important;
    outline-offset: 2px !important;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .flatpickr-day.selected,
    .flatpickr-day.startRange,
    .flatpickr-day.endRange {
        border: 3px solid #000000 !important;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .flatpickr-day,
    .flatpickr-prev-month,
    .flatpickr-next-month {
        transition: none !important;
    }

    .flatpickr-day:hover,
    .flatpickr-day.selected {
        transform: none !important;
    }
}

/* ==================================================================================
   FIX OVERLAPPING ISSUES
   ==================================================================================*/

/* Ensure only one calendar appears */
.flatpickr-calendar.open {
    display: block !important;
}

/* Remove any conflicting animations */
.flatpickr-calendar.animate {
    animation: none !important;
}

/* Ensure clean inline display */
#calendar-container .flatpickr-calendar {
    position: relative !important;
    display: block !important;
}
