body {
            font-family: Arial, sans-serif;
            max-width: 800px;
            margin: 0 auto;
            padding: 20px;
            background-color: #f5f5f5;
        }
        
        .wizard-container {
            background: white;
            border-radius: 0;
            padding: 30px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        
        .wizard-header {
            text-align: center;
            margin-bottom: 30px;
        }
        
        .wizard-header h1 {
            color: #333;
            margin-bottom: 10px;
        }
        
        
        .question-container {
            margin-bottom: 30px;
        }
        
        .question-code {
            font-size: 0.9em;
            color: #666;
            font-weight: normal;
            margin-bottom: 5px;
        }
        
        .question-title {
            font-size: 1.3em;
            font-weight: bold;
            color: #333;
            margin-bottom: 15px;
        }
        
        .question-subtitle {
            color: #666;
            margin-bottom: 20px;
            font-style: italic;
        }
        
        .answer-option {
            background: #f8f9fa;
            border: 2px solid #e9ecef;
            border-radius: 0;
            padding: 15px;
            margin-bottom: 10px;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .answer-option:hover {
            background: #fef9e7;
            border-color: #f2b138
 ;
        }
        
        .answer-option.selected {
            background: #fef9e7;
            border-color: #f2b138;
            box-shadow: 0 2px 8px rgba(242, 177, 56, 0.3);
        }
        
        .answer-option input[type="radio"],
        .answer-option input[type="checkbox"] {
            margin-right: 10px;
        }
        
        .answer-option input[type="radio"] {
            display: inline-block;
            vertical-align: top;
            margin-top: 2px;
        }
        
        .answer-option label {
            display: flex;
            align-items: flex-start;
            cursor: pointer;
        }
        
        .answer-option label .answer-content {
            flex: 1;
        }
        
        /* Checkbox specific styles */
        .answer-option.checkbox {
            cursor: pointer;
        }
        
        .answer-option.checkbox.selected {
            background: #e8f5e8;
            border-color: #28a745;
            box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
        }
        
        .answer-option.checkbox:hover {
            background: #e8f5e8;
            border-color: #28a745;
        }
        
        .checkbox-options {
            margin-top: 10px;
            padding-left: 20px;
        }
        
        .checkbox-option {
            display: flex;
            align-items: center;
            margin-bottom: 8px;
            padding: 8px;
            background: #f8f9fa;
            border: 1px solid #dee2e6;
            border-radius: 0;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        
        .checkbox-option:hover {
            background: #e9ecef;
        }
        
        .checkbox-option.selected {
            background: #d4edda;
            border-color: #28a745;
        }
        
        .checkbox-option input[type="checkbox"] {
            margin-right: 8px;
        }
        
        .answer-text {
            font-weight: 500;
            color: #333;
        }
        
        .answer-description {
            color: #666;
            font-size: 0.9em;
            margin-top: 5px;
        }
        
        .navigation {
            display: flex;
            justify-content: space-between;
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid #e0e0e0;
        }
        
        .btn {
            padding: 12px 24px;
            border: none;
            border-radius: 0;
            cursor: pointer;
            font-size: 1em;
            transition: background-color 0.3s ease;
        }
        
        .btn-primary {
            background-color: #f2b138;
            color: white;
        }
        
        .btn-primary:hover:not(:disabled) {
            background-color: #e67e22;
        }
        
        .btn-secondary {
            background-color: #a7a7a8;
            color: white;
        }
        
        .btn-secondary:hover {
            background-color: #a7a7a8;
        }
        
        .btn:disabled {
            background-color: #e9ecef;
            color: #6c757d;
            cursor: not-allowed;
        }

        a.btn {
            text-decoration: none;
            font-weight: 600;
            display: inline-block;
        }

        a.btn:hover {
            text-decoration: none;
        }
        
        .results-container {
            background: #f8f9fa;
            border-radius: 0;
            padding: 20px;
            margin-top: 20px;
        }
        
        .results-title {
            font-size: 1.2em;
            font-weight: bold;
            color: #333;
            margin-bottom: 15px;
        }
        
        .result-item {
            background: white;
            border-radius: 0;
            padding: 10px;
            margin-bottom: 8px;
            border-left: 4px solid #f2b138;
        }
        
        .result-question {
            font-weight: 500;
            color: #333;
        }
        
        .result-answer {
            color: #666;
            font-size: 0.9em;
        }
        
        .hidden {
            display: none;
        }
        
        /* Horizontal layout styles */
        .answers-horizontal {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }
        
        .answer-option.horizontal {
            background: #f8f9fa;
            border: 2px solid #e9ecef;
            border-radius: 0;
            padding: 20px;
            margin-bottom: 0;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: center;
            min-height: 120px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        
        .answer-option.horizontal:hover {
            background: #fef9e7;
            border-color: #f2b138;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(242, 177, 56, 0.2);
        }
        
        .answer-option.horizontal.selected {
            background: #fef9e7;
            border-color: #f2b138;
            box-shadow: 0 4px 16px rgba(242, 177, 56, 0.3);
            transform: translateY(-2px);
        }
        
        .answer-option.horizontal .answer-text {
            font-size: 1.1em;
            font-weight: 600;
            margin-bottom: 10px;
        }
        
        .answer-option.horizontal .answer-description {
            font-size: 0.85em;
            line-height: 1.4;
        }
        
        .answer-option.horizontal input[type="radio"] {
            display: none;
        }
        
        /* Responsive adjustments */
        @media (max-width: 768px) {
            .answers-horizontal {
                grid-template-columns: 1fr;
                gap: 15px;
            }
            
            .answer-option.horizontal {
                min-height: 100px;
                padding: 15px;
            }
        }

        /* Additional styles for existing question.html classes */
        .horizontal-layout { 
            display: flex; 
            gap: 20px; 
            flex-wrap: wrap; 
            margin-top: 20px;
        }
        
        .vertical-layout { 
            display: flex; 
            flex-direction: column; 
            gap: 10px; 
            margin-top: 20px;
        }
        
        .card-container { 
            display: grid; 
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
            gap: 15px; 
            margin-top: 20px;
        }
        
        .answer-card { 
            background: #f8f9fa;
            border: 2px solid #e9ecef; 
            padding: 20px; 
            border-radius: 0; 
            cursor: pointer; 
            transition: all 0.3s ease;
            text-align: center;
            min-height: 120px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        
        .answer-card:hover { 
            background: #fef9e7;
            border-color: #f2b138;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(243, 156, 18, 0.2);
        }
        
        .answer-card input { 
            display: none; 
        }
        
        .answer-card.selected { 
            background: #fef9e7;
            border-color: #f2b138;
            box-shadow: 0 4px 16px rgba(242, 177, 56, 0.3);
            transform: translateY(-2px);
        }

        .answer-card label {
            font-weight: 600;
            color: #333;
            cursor: pointer;
        }

        /* Styles for vertical/horizontal layout items */
        .horizontal-layout > div,
        .vertical-layout > div {
            background: #f8f9fa;
            border: 2px solid #e9ecef;
            border-radius: 0;
            padding: 0;
            cursor: default;
            transition: all 0.3s ease;
            display: flex;
            align-items: stretch;
        }

        .horizontal-layout > div:hover,
        .vertical-layout > div:hover {
            background: #fef9e7;
            border-color: #f2b138;
        }

        .horizontal-layout > div label,
        .vertical-layout > div label {
            margin-left: 0;
            font-weight: 500;
            color: #333;
            cursor: pointer;
            flex: 1;
            display: block;
            align-items: center;
            padding: 15px 15px 15px 10px;
        }

        .horizontal-layout > div input[type="radio"],
        .horizontal-layout > div input[type="checkbox"],
        .vertical-layout > div input[type="radio"],
        .vertical-layout > div input[type="checkbox"] {
            margin: 15px 0 15px 15px; 
            flex-shrink: 0;
        }

        /* Form styling */
        .form-container {
            margin-top: 20px;
        }

        .submit-btn {
            background-color: #f39c12;
            color: white;
            padding: 12px 24px;
            border: none;
            border-radius: 0;
            cursor: pointer;
            font-size: 1em;
            transition: background-color 0.3s ease;
            margin-top: 20px;
        }

        .submit-btn:hover {
            background-color: #e67e22;
        }

        /* Shopping List / Ergebnis-Container */
        .shopping-container {
            background: #f8f9fa;
            border-radius: 0;
            padding: 30px;
            margin-top: 20px;
        }

        .shopping-title {
            color: #f2b138;
            font-size: 1.4em;
            font-weight: bold;
            text-align: center;
            margin-bottom: 10px;
        }

        .shopping-subtitle {
            text-align: center;
            color: #666;
            margin-bottom: 30px;
            font-style: italic;
        }

        /* Produkt-Cards */
        .product-card {
            background: white;
            border-left: 4px solid #f2b138; 
            border-radius: 0;
            padding: 15px;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
            transition: all 0.3s ease;
        }

        .product-card:hover {
            box-shadow: 0 4px 8px rgba(40, 167, 69, 0.2);
            transform: translateX(5px);
        }

        .product-icon {
            font-size: 1.5em;
            margin-right: 15px;
            color: #28a745;
        }

        .product-info {
            flex: 1;
        }

        .product-name {
            font-weight: 600;
            color: #333;
            font-size: 1.1em;
            margin-bottom: 5px;
        }

        .product-description {
            color: #666;
            font-size: 0.9em;
        }

        /* Success Badge */
        .success-badge {
            background: #28a745;
            color: white;
            padding: 8px 16px;
            border-radius: 0;
            font-weight: 600;
            display: inline-block;
            margin-bottom: 20px;
        }

        /*Glossar Tooltips   */

        .glossary-term {
            color : #f2b138;
            font-weight: 600;
            border-bottom: 2px dotted #f2b138;
            cursor: help;
            position: relative;
            transition: all 0.3s ease;
        }

        .glossary-term:hover {
            color: #e67e22;
            border-bottom-color: #e67e22;
        }

        .glossary-tooltip {
            position: absolute;
            background: #333;
            color: white;
            padding: 12px 16px;
            border-radius: 0;
            font-size: 0.9em;
            font-weight: normal;
            line-height: 1.5;
            max-width: 300px;
            z-index: 1000;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .glossary-tooltip.show{
            opacity: 1;
        }

        /* Tooltip Pfeil */
        .glossary-tooltip::after {
            content: '';
            position: absolute;
            bottom: -16px;
            left: var(--arrow-left, 50%);
            transform: translateX(-50%);
            border: 8px solid transparent;
            border-top-color: #333;
        }

        .glossary-tooltip.below::after {
            border-top-color: transparent;
            bottom: auto;
            top: -16px;
            border-bottom-color: #333;
        }

        /* Responsive Anpassung */
        @media (max-width: 768px) {
            .glossary-tooltip {
                max-width: 250px;
                font-size: 0.85em;
                padding: 10px 14px;
            }
        }



        /* Additional responsive adjustments */
        @media (max-width: 768px) {
            .card-container {
                grid-template-columns: 1fr;
                gap: 15px;
            }
            
            .answer-card {
                min-height: 100px;
                padding: 15px;
            }

            .horizontal-layout {
                flex-direction: column;
                gap: 15px;
            }
        }
        /* restart section */
/* Restart Button Section */
.restart-section {
    text-align: center;
    margin-top: 30px;
}

/* Contact Form Section */
.contact-form-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e0e0e0;
}

.contact-form-section h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.contact-form-intro {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 0;
    font-size: 1em;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #f2b138;
    box-shadow: 0 0 0 2px rgba(242, 177, 56, 0.1);
}

.form-hint {
    color: #666;
    font-size: 0.9em;
    display: block;
    margin-top: 5px;
}

.alert {
    text-align: center;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 0;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.btn-submit {
    width: 100%;
    padding: 12px;
    background: #f2b138;
    color: rgb(255, 255, 255);
    border: none;
    border-radius: 0;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    align-items: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-submit:hover {
    background: #f2b138;
}

.btn-submit:active {
    background: #d79e0f;
}    

.flash-error {
    background-color: #f8d7da;
    color: #721c24;
    padding: 12px 20px;
    margin: 10px 0;
    border-radius: 0;
    border: 1px solid #f5c6cb;
}
/* ============================================
   Custom Answer Section (Fragebogen)
   ============================================ */

.custom-answer-section {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa; 
    border-radius: 0;
    border-left: 3px solid #e9ecef;  
}

.custom-answer-label {
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
    color: #333;
}

.custom-answer-hint {
    color: #666;
    display: block;
    margin-top: 5px;
    font-size: 0.9em;
}

.custom-answer-section input[type="text"] {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #e9ecef;
    border-radius: 0;
    font-size: 1em;
    transition: all 0.3s ease;
    background: white;
    box-sizing: border-box;
}

.custom-answer-section input[type="text"]:focus {
    outline: none;
    border-color: #f2b138;  
    box-shadow: 0 0 0 3px rgba(242, 177, 56, 0.15);  
    background: #fffaf0; 
}

.custom-answer-section input[type="text"]::placeholder {
    color: #999;
}
/* ============================================
   Actions Section (Ergebnis-Buttons)
   ============================================ */

.actions-section {
    text-align: center;
    margin-top: 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.actions-section .btn {
    min-width: 200px;
}

/* Responsive - Buttons untereinander auf kleinen Bildschirmen */
@media (max-width: 768px) {
    .actions-section {
        flex-direction: column;
        align-items: center;
    }
    
    .actions-section .btn {
        width: 100%;
        max-width: 400px;
    }
}
/* ================================
   FRAGEN-BILD STYLING
   ================================ */

/* Container für das Bild */
.question-image-container {
    margin: 20px 0;
    text-align: center;
}

/* Das Bild selbst */
.question-image {
    max-width: 100%;
    max-height: 200px;
    width: auto;
    height: auto;
    border-radius: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
}

/* Responsive: Auf kleinen Bildschirmen */
@media (max-width: 768px) {
    .question-image {
        max-height: 300px;
    }
    
    .question-image-container {
        margin: 15px 0;
    }
}

/* Optional: Hover-Effekt */
.question-image:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s ease;
}
/* ==========================================
   KONTAKTFORMULAR MODAL (Overview)
   ========================================== */

/* Button-Sektion */
.contact-button-section {
    text-align: center;
    margin: 30px 0;
}

.contact-button-hint {
    font-size: 0.9em;
    color: #666;
    margin-top: 10px;
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.modal-overlay.hidden {
    display: none;
}

/* Modal Container */
.modal-content-wizard {
    background: white;
    border-radius: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal Header */
.modal-header-wizard {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.modal-header-wizard h2 {
    margin: 0;
    color: #333;
    font-size: 1.5em;
}

/* Modal Close Button */
.modal-close-wizard {
    background: none;
    border: none;
    font-size: 28px;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    transition: all 0.2s;
}

.modal-close-wizard:hover {
    background: #f0f0f0;
    color: #333;
}

/* Modal Body */
.modal-body-wizard {
    padding: 20px;
}

.modal-body-wizard p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Modal Footer */
.modal-footer-wizard {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

/* Contact Form Styling */
.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.contact-form input[type="text"],
.contact-form input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 0;
    font-size: 1em;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus {
    outline: none;
    border-color: #f2b138;
}

.form-hint {
    display: block;
    margin-top: 5px;
    font-size: 0.9em;
    color: #999;
    font-style: italic;
}

/* Alert Messages im Modal */
.modal-body-wizard .alert {
    padding: 12px;
    border-radius: 0;
    margin-bottom: 15px;
}

.modal-body-wizard .alert-success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.modal-body-wizard .alert-error {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

/* Responsive Design */
@media (max-width: 600px) {
    .modal-content-wizard {
        width: 95%;
        max-height: 95vh;
    }
    
    .modal-header-wizard,
    .modal-body-wizard {
        padding: 15px;
    }
    
    .modal-footer-wizard {
        flex-direction: column;
    }
    
    .modal-footer-wizard .btn {
        width: 100%;
    }
}
.button-actions-centered {
    text-align: center;
    margin-top: 30px;
}

/* ==========================================
   DATENSCHUTZ-CHECKBOX & LINK (Modal)
   ========================================== */

/* ==========================================
   DATENSCHUTZ-CHECKBOX & LINK (Modal)
   ========================================== */

/* Checkbox-Container */
.consent-checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

/* Checkbox selbst */
.consent-checkbox {
    width: auto !important;  
    padding: 0 !important;   
    margin-top: 4px;
    flex-shrink: 0;
    cursor: pointer;
}

/* Label für Checkbox */
.consent-label {
    margin: 0;
    cursor: pointer;
    flex: 1;
    line-height: 1.5;
    font-weight: normal;  
}

/* Datenschutz-Link Section */
.privacy-link-section {
    margin-top: 10px;
}

/* Datenschutz-Text */
.privacy-text {
    font-size: 0.9em;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Datenschutz-Link */
.privacy-link {
    color: #f2b138;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.privacy-link:hover {
    color: #e67e22;
}

/* Responsive: Auf kleinen Bildschirmen */
@media (max-width: 600px) {
    .consent-checkbox-container {
        gap: 8px;
    }
    
    .privacy-text {
        font-size: 0.85em;
    }
}

.centered {
    text-align: center;
}

.btn-link {
    background: none;  /* kein Hintergrund */
    color: #f2b138;  /* Standard-Orange */
    border: none;
    padding: 8px 0;
    margin-top: 10px;
    display: inline-block;
    text-decoration: none;
    border-bottom: 2px dashed #f2b138;  /* gestrichelter Unterstrich */
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-link:hover {
    color: #e67e22;  /* dunkler bei Hover */
    border-bottom-color: #e67e22;
}

/* ============================================
   Immediate Product Display
   Kompaktes Info-Design
   ============================================ */

/* Container */
.immediate-products-section {
    margin: 1.5rem 0 1rem 0;
    padding: 0;
}

.immediate-products-section.hidden {
    display: none;
}

/* Header */
.immediate-products-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e0e0e0;
}

.immediate-products-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #555;
}

/* Produkt-Liste */
#immediate-products-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Einzelnes Produkt-Item - Kompakt */
.immediate-product-item {
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    border-left: 3px solid #f2b138;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.immediate-product-item:hover {
    background: #e9ecef;
    transform: translateX(2px);
}

/* Produkt-Name */
.immediate-product-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.35rem;
}

/* Produkt-Beschreibung */
.immediate-product-description {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

/* Produkt-Link */
.immediate-product-link {
    display: inline-block;
    font-size: 0.85rem;
    color: #1976d2;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.immediate-product-link:hover {
    color: #1565c0;
    text-decoration: underline;
}

/* Responsive: Bei mehr Platz horizontal */
@media (min-width: 768px) {
    #immediate-products-list {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 0.75rem;
    }
}

/* Animation beim Einblenden */
.immediate-product-item {
    animation: fadeInSlide 0.3s ease;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ==========================================
   MOBILE OPTIMIERUNGEN - Smartphone Fix
   ========================================== */

@media (max-width: 768px) {
    /* Body - weniger Padding auf Smartphones */
    body {
        padding: 10px;
    }
    
    /* Wizard Container - kompakter */
    .wizard-container {
        padding: 15px;
    }
    
    /* Shopping Container - kompakter, kein Überlauf, symmetrisches Padding */
    .shopping-container {
        padding: 15px;
        box-sizing: border-box;
        overflow-x: hidden;
        margin-left: 0;
        margin-right: 0;
    }
    
    /* Product Cards - responsive & kein Überlauf */
    .product-card {
        padding: 12px;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Produktname & Beschreibung - Textumbruch erzwingen */
    .product-name,
    .product-description {
        overflow-wrap: break-word;
        word-break: break-word;
        max-width: 100%;
    }
    
    /* Product-Link Container - kein Überlauf */
    .product-link-container {
        overflow-wrap: break-word;
        word-break: break-word;
    }
    
    .product-link-container a {
        word-break: break-word;
        display: inline-block;
        max-width: 100%;
    }
    
    /* Actions Section - Symmetrisches Layout & Button-Einrückung Fix */
    .actions-section {
        gap: 20px;
        padding: 0;
        margin-left: 0;
        margin-right: 0;
    }
    
    /* Alle Buttons in Actions Section - einheitliche Breite, symmetrisch */
    .actions-section .btn,
    .actions-section a.btn,
    .actions-section button.btn {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin-left: 0;
        margin-right: 0;
    }
    
    /* Result Container - kompakter */
    .result-container {
        padding: 15px;
    }
    
    /* Button Actions Centered - Buttons nicht volle Breite, sichtbare Kanten */
    .button-actions-centered {
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;
        padding: 0 15px;
    }
    
    .button-actions-centered .btn {
        width: calc(100% - 30px);
        max-width: 350px;
        min-width: 280px;
    }
}

.tree-link-container {
    margin-top: 12px;
}

.search-bar {
    margin-bottom: 20px;
}

.search-bar input {
    width: 100%;
    padding: 10px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}
