.ft-booking-wizard {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.ft-wizard-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.ft-wizard-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #e0e0e0;
    z-index: 0;
}

.ft-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.ft-step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #666;
    font-weight: bold;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.ft-step.active .ft-step-number {
    background: var(--ft-primary-color, #3498db);
    color: #fff;
    transform: scale(1.1);
}

.ft-step.completed .ft-step-number {
    background: #4caf50;
    color: #fff;
}

.ft-step-label {
    display: block;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.ft-wizard-content {
    position: relative;
    min-height: 400px;
}

.ft-wizard-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.ft-wizard-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.ft-wizard-panel h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #333;
}

.ft-input, .ft-btn {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.ft-textarea {
    min-height: 100px;
    resize: vertical;
    font-family: inherit;
    line-height: 1.5;
}

.ft-input:focus {
    outline: none;
    border-color: var(--ft-primary-color, #3498db);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.ft-date-container {
    position: relative;
}

.ft-date-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 8px;
    gap: 15px;
}

.ft-pagination-btn {
    background: var(--ft-primary-color, #3498db);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.ft-pagination-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.ft-pagination-btn:not(:disabled):hover {
    background: var(--ft-primary-color-dark, #2980b9);
    transform: translateY(-2px);
}

.ft-date-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
    margin-bottom: 10px;
}

.ft-date-item {
    padding: 16px 8px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.ft-date-item:hover:not(.disabled):not(.closed) {
    border-color: var(--ft-primary-color, #3498db);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.ft-date-item.selected {
    background: var(--ft-primary-color, #3498db);
    color: #fff;
    border-color: var(--ft-primary-color, #3498db);
}

.ft-date-item.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
    background: #f5f5f5;
}

.ft-date-item.closed {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
    background: #f9f9f9;
    border-color: #ddd;
}

.ft-date-item.closed .ft-date-weekday,
.ft-date-item.closed .ft-date-day,
.ft-date-item.closed .ft-date-month {
    color: #999;
}

.ft-date-item.closed::after {
    content: '✗';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 32px;
    color: #ccc;
    font-weight: bold;
    pointer-events: none;
}

.ft-date-item.today {
    border-color: var(--ft-primary-color, #3498db);
    background: rgba(52, 152, 219, 0.05);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.ft-date-item.today:not(.disabled):not(.selected):not(.closed) {
    border-width: 3px;
}

.ft-date-item.today:not(.closed)::before {
    content: 'Heute';
    position: absolute;
    top: 4px;
    right: 4px;
    font-size: 9px;
    font-weight: 700;
    color: var(--ft-primary-color, #3498db);
    text-transform: uppercase;
}

.ft-date-item.selected.today::before {
    color: rgba(255, 255, 255, 0.9);
}

.ft-date-weekday {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 4px;
    text-transform: uppercase;
    color: #666;
}

.ft-date-item.selected .ft-date-weekday {
    color: rgba(255, 255, 255, 0.9);
}

.ft-date-day {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 2px;
}

.ft-date-month {
    font-size: 11px;
    color: #999;
}

.ft-date-item.selected .ft-date-month {
    color: rgba(255, 255, 255, 0.8);
}

.ft-time-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
    margin-bottom: 30px;
}

.ft-time-separator {
    grid-column: 1 / -1;
    height: 20px;
}

.ft-time-item {
    padding: 20px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
    font-size: 18px;
    font-weight: 600;
}

.ft-time-item:hover {
    border-color: var(--ft-primary-color, #3498db);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.ft-time-item.selected {
    background: var(--ft-primary-color, #3498db);
    color: #fff;
    border-color: var(--ft-primary-color, #3498db);
}

.ft-time-item small {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    font-weight: normal;
    opacity: 0.8;
    display: none;
}

.ft-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.ft-form-group {
    position: relative;
}

.ft-form-group-full {
    grid-column: 1 / -1;
}

.ft-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.ft-form-group small {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #666;
}

.ft-btn {
    background: var(--ft-primary-color, #3498db);
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: 600;
    margin-top: 10px;
}

.ft-btn:hover:not(:disabled) {
    background: var(--ft-primary-color-dark, #2980b9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.ft-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.ft-btn.ft-back {
    background: #95a5a6;
    width: 48%;
    display: inline-block;
}

.ft-btn.ft-next, .ft-btn.ft-submit {
    width: 48%;
    display: inline-block;
    float: right;
}

.ft-loading {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 18px;
}

.ft-success-message {
    text-align: center;
    padding: 60px 20px;
}

.ft-success-message svg {
    color: #4caf50;
    margin-bottom: 20px;
}

.ft-success-message h2 {
    color: #4caf50;
    margin-bottom: 15px;
}

.ft-success-message p {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .ft-booking-wizard {
        padding: 20px;
    }
    
    /*
    .ft-wizard-steps {
        overflow-x: auto;
    }
    */
    
    .ft-step-label {
        font-size: 12px;
    }
    
    .ft-date-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .ft-time-grid {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    }
    
    .ft-form-grid {
        grid-template-columns: 1fr;
    }
    
    .ft-btn.ft-back, .ft-btn.ft-next, .ft-btn.ft-submit {
        width: 100%;
        float: none;
        margin-top: 10px;
    }
}

.ft-newsletter-group {
    margin-top: 4px;
}

.ft-newsletter-optin {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.4;
    color: #444;
}

.ft-newsletter-optin .ft-newsletter-checkbox {
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    flex: 0 0 auto;
    accent-color: var(--ft-primary-color, #3498db);
    cursor: pointer;
}