/* ... alle bisherigen Stile bleiben unverändert ... */
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; background-color: #f4f7f9; color: #333; margin: 0; padding: 20px; display: flex; justify-content: center; align-items: center; min-height: 100vh; }
.container { width: 100%; max-width: 600px; background-color: #ffffff; border-radius: 10px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); overflow: hidden; }
header { background-color: #007bff; color: white; padding: 20px; display: flex; justify-content: space-between; align-items: center; }
header h1 { margin: 0; font-size: 1.5em; }
.language-selector { display: flex; align-items: center; }
.language-selector label { margin-right: 8px; font-size: 0.9em; }
#lang-switch { border-radius: 5px; border: none; padding: 5px; background-color: #0056b3; color: white; cursor: pointer; }
main { padding: 20px; }
#empty-cart-message { color: #888; text-align: center; }
.product-adder { display: flex; padding: 20px; background-color: #f8f9fa; border-bottom: 1px solid #dee2e6; gap: 10px; }
#product-select { flex-grow: 1; padding: 10px; border: 1px solid #ced4da; border-radius: 5px; }
#add-product-btn { padding: 10px 20px; border: none; background-color: #28a745; color: white; font-weight: bold; border-radius: 5px; cursor: pointer; transition: background-color 0.2s; }
#add-product-btn:hover { background-color: #218838; }
.product-item { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-bottom: 1px solid #eee; }
.product-item:last-child { border-bottom: none; }
.product-name { font-weight: bold; flex-grow: 1; }
.quantity-controls { display: flex; align-items: center; margin: 0 20px; }
.quantity-btn { background-color: #e9ecef; border: none; width: 30px; height: 30px; border-radius: 50%; font-size: 1.2em; font-weight: bold; cursor: pointer; color: #495057; transition: background-color 0.2s; }
.quantity-btn:hover { background-color: #ced4da; }
.quantity-display { width: 40px; text-align: center; font-size: 1.1em; font-weight: bold; }
.item-price { min-width: 60px; text-align: right; font-family: monospace; font-size: 1.1em; }
.delete-btn { background-color: #dc3545; color: white; border: none; width: 30px; height: 30px; border-radius: 50%; font-size: 1.2em; font-weight: bold; cursor: pointer; margin-left: 10px; transition: background-color 0.2s; }
.delete-btn:hover { background-color: #c82333; }
footer { background-color: #f8f9fa; padding: 20px; border-top: 1px solid #dee2e6; }
.total-price { display: flex; justify-content: space-between; font-size: 1.5em; font-weight: bold; }

/* NEU: Stile für Teilen-Button und QR-Code-Modal */
#share-btn {
    width: 100%;
    margin-top: 15px;
    padding: 12px;
    font-size: 1em;
    font-weight: bold;
    background-color: #17a2b8;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s;
}
#share-btn:hover {
    background-color: #138496;
}
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}
.modal-content h2 {
    margin-top: 0;
}
#qrcode {
    margin: 20px auto;
    width: 256px;
    height: 256px;
}
.modal-content p {
    color: #666;
    margin-top: 0;
}
#close-modal-btn {
    padding: 10px 25px;
    border: 1px solid #ccc;
    background-color: #eee;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}
.hidden {
    display: none;
}
/* ... mobile styles ... */
@media (max-width: 480px) { body { padding: 0; } .container { border-radius: 0; min-height: 100vh; } header { flex-direction: column; align-items: flex-start; gap: 10px; } .product-adder { flex-direction: column; } .product-item { flex-direction: column; align-items: flex-start; gap: 10px; } .quantity-controls { margin: 0; } .item-price { align-self: flex-end; } }
