/* 1. GRUNDLAGEN & CONTAINER */
.dch-container { 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; 
    max-width: 1200px; /* Erhöht von 1000px für besseres Layout */
    margin: 0 auto; 
    padding: 0 20px;
    color: #444; 
}

/* 2. STEPPER (Zusammengeführt) */
.dch-stepper { 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    margin-bottom: 40px; 
    padding: 20px 0;
    position: relative;
}
.dch-stepper::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e0e0e0;
    z-index: 0;
    display: none; /* Deaktiviert laut deinem unteren Code-Teil */
}
.step { 
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #999;
    transition: 0.3s; 
    position: relative;
    z-index: 1;
    flex: 1;
}
.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f0f0f0;
    color: #999;
    font-weight: bold;
    font-size: 18px;
    transition: 0.3s;
}
.step.active { color: #333; }
.step.active .step-number { background: #009AB2; color: white; }
.step-label { font-size: 13px; text-align: center; color: #999; }
.step.active .step-label { color: #333; font-weight: 600; }

/* 3. BUTTONS (Zentralisiert) */
.dch-btn { 
    padding: 12px 15px; 
    border-radius: 30px; 
    cursor: pointer; 
    font-size: 17px; 
    font-weight: 400; 
    border: none; 
    transition: 0.2s; 
    text-decoration: none; 
    display: inline-block; 
}
.dch-btn-primary { background: #333333; color: #fff !important; }
.dch-btn-primary:hover { background: #1a1a1a; }

.dch-btn-outline { 
    background: transparent; 
    border: 1px solid #ccc; 
    color: #666; 
    padding: 12px 25px;
    border-radius: 20px;
}
.dch-btn-outline:hover { background: #f5f5f5; }

/* SPEZIFISCHE BUTTON-ANPASSUNGEN (Wichtig für deine Frage!) */
/* Dieser Block muss UNTER den allgemeinen Button-Styles stehen */
.dch-pricing-table-container .dch-pricing-row .dch-btn { 
    padding: 2px 12px !important; 
    border-radius: 20px; 
}

/* 4. SEARCH & HERO */
.dch-search-wrapper { 
    text-align: center; 
    padding: 40px 0; 
}

.dch-search-bar { 
    display: inline-flex; 
    gap: 10px; 
    background: #fff; 
    padding: 15px; 
    border-radius: 12px; 
    box-shadow: 0 4px 20px rgba(0,0,0,0.08); 
    flex-wrap: wrap; 
    width: 100%; 
    max-width: 700px; 
    box-sizing: border-box; 
}

/* Gemeinsame Styles für Inputs und Selects */
.dch-search-bar input, 
.dch-search-bar select { 
    padding: 12px; 
    border: 1px solid #ddd; 
    border-radius: 6px; 
    outline: none; 
    transition: border-color 0.2s; /* Optional für weicheren Fokus */
}

/* Spezifische Ergänzungen */
.dch-search-bar input[type="text"] { 
    flex: 1; 
    min-width: 200px; 
}

.dch-search-bar select { 
    min-width: 80px; 
}

/* Fokus-Zustand */
.dch-search-bar input:focus, 
.dch-search-bar select:focus { 
    border-color: #333333; 
}

/* 5. CARDS & HOSTING (Zusammengeführt & Bereinigt) */
.dch-card { 
    background: #fff; 
    border: 1px solid #eee !important; 
    border-top: 4px solid transparent;
    border-radius: 20px; 
    padding: 20px; /* Hier den gewünschten Wert wählen */
    width: 320px; 
    text-align: center; 
    transition: 0.3s; 
    position: relative;
}

.dch-card:hover { 
    transform: translateY(-8px); 
    box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important; 
}

.dch-card.selected { 
    border: 2px solid #009AB3; 
    border-top: 4px solid #009AB3; 
}

.dch-card .dch-btn-primary { 
    background: #009AB3; 
    padding: 12px 25px; 
}

/* Feature Liste (Kombiniert & Optimiert) */
.dch-feature-list { 
    text-align: left; 
    list-style: none !important; /* Verhindert die Standard-Punkte */
    padding: 0 !important; 
    margin: 25px 0 !important; 
    border-top: 1px solid #f0f0f0; /* Ergänzung aus Vorlage 2 */
    padding-top: 20px !important; 
}

.dch-feature-list li { 
    margin-bottom: 12px; /* Erhöht auf 12px für bessere Lesbarkeit */
    font-size: 0.95em; 
    color: #444; 
    display: flex; 
    align-items: center; /* Zentriert Emoji und Text sauber auf einer Linie */
    gap: 10px; /* Optimaler Abstand zwischen Emoji und Text */
}

/* Spezifische Korrektur für WordPress-Emojis */
.dch-feature-list li img.emoji { 
    width: 15px !important; 
    height: 15px !important; 
    margin: 0 !important; 
    vertical-align: middle;
}

/* Hosting Pakete Navigation (Schritt 2) */
.dch-tab-navigation { display: flex; justify-content: center; gap: 15px; margin-bottom: 30px; }
.dch-tab-btn { background: #fff; border: 1px solid #ddd; padding: 12px 25px; cursor: pointer; border-radius: 20px; font-weight: 600; color: #555; transition: 0.3s; }
.dch-tab-btn:hover { background: #f8f9fa; }
.dch-tab-btn.active { background: #009AB3; color: #fff; border-color: #009AB3; box-shadow: 0 4px 10px rgba(99,102,241,0.3); }

.dch-packages-wrapper { display: block; }
.dch-tab-content { display: none; flex-wrap: wrap; gap: 25px; justify-content: center; }
#section-3 .dch-packages-wrapper > .dch-tab-content:first-child { display: flex !important; }

.dch-price-tag { font-size: 30px; font-weight: bold; color: #222; margin: 20px 0; }
.dch-price-tag span { font-size: 0.4em; color: #888; text-transform: none; }

/* 6. TABELLEN & PREISE */
.dch-pricing-table { 
    width: 100%; 
    border-collapse: collapse; 
    background: #fff;
}
.dch-pricing-table th { background: #17a2b8; color: white; padding: 12px; text-align: left; }
.dch-pricing-table td { padding: 12px; border-bottom: 1px solid #eee; }

/* Filter Buttons Styling */
.dch-filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.dch-filter-btn {
    background: #f1f1f1;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 6px 15px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    color: #444;
}

.dch-filter-btn:hover {
    background: #e9e9e9;
}

.dch-filter-btn.active {
    background: #009AB3; /* Ein schönes Grün wie im Bild Popular */
    color: white;
    border-color: #009AB3;
}

/* MwSt. Hinweis (Nur einmal definiert) */
.dch-td-price::after, .dch-price::after, .dch-price-tag span::after {
    content: ' zzgl. MwSt.';
    font-size: 0.65em;
    color: #999;
    font-weight: normal;
}

	#coupon_message {
    padding: 5px 0;
    min-height: 20px; /* Verhindert das Springen des Layouts */
    transition: all 0.3s ease;
}

/* ==========================================================================
   CHECKOUT FORM STYLES (verschoben von checkout.php)
   ========================================================================== */

.dch-checkout-grid { 
    max-width: 100%; 
    margin: 0 auto; 
    padding: 20px; 
    background: #fff; 
}

.dch-row { 
    display: flex; 
    gap: 15px; 
    margin-bottom: 15px; 
}

.dch-col { flex: 1; }

.dch-checkout-grid input[type="text"], 
.dch-checkout-grid input[type="email"] { 
    width: 100%; 
    padding: 12px; 
    border: 1px solid #ddd; 
    border-radius: 6px; 
}

.dch-form-divider { 
    text-align: center; 
    border-bottom: 1px solid #eee; 
    line-height: 0.1em; 
    margin: 40px 0 25px; 
    color: #999; 
    text-transform: uppercase; 
    font-size: 11px; 
    letter-spacing: 1px; 
}

.dch-form-divider span { 
    background: #fff; 
    padding: 0 15px; 
}

.dch-coupon-row { 
    display: flex; 
    gap: 10px; 
    margin-bottom: 15px; 
}

.dch-coupon-row input { 
    flex: 1; 
}

.dch-coupon-row button { 
    padding: 12px 25px; 
    background: #f4f4f4; 
    border: 1px solid #ddd; 
    border-radius: 6px; 
    cursor: pointer; 
}

.dch-coupon-message {
    margin-bottom: 20px; 
    font-weight: bold; 
    text-align: center;
}

/* ========================================
   NEUE ZAHLUNGSMETHODEN OPTIK
   (Diese Zeilen in style.css einfügen oder ersetzen)
   ======================================== */

/* Gesamtbetrag Anzeige */
.dch-payment-total {
    background-color: #e8f5e9;
    border-left: 4px solid #4caf50;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
}

.dch-payment-total span:first-child {
    color: #4caf50;
    font-weight: 600;
}

.dch-total-amount {
    font-size: 1.5em;
    font-weight: bold;
    color: #4caf50;
}

/* Zahlungsmethoden Bereich */
.dch-payment-methods-section {
    margin-bottom: 30px;
}

.dch-payment-label {
    font-size: 17px;
    color: #666;
    margin-bottom: 15px;
    font-weight: 500;
}

/* Radio-Buttons Container (Zeile) */
.dch-payment-methods {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Einzelne Radio-Button Label */
.dch-payment-method-radio {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
    flex: 1;
    min-width: 150px;
}

/* Verstecke den Standard Radio-Button */
.dch-payment-method-radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Custom Radio-Button (leerer Kreis) */
.dch-radio-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 2px solid #ccc;
    border-radius: 50%;
    background-color: #fff;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

/* Custom Radio-Button wenn ausgewählt (mit Häkchen) */
.dch-payment-method-radio input[type="radio"]:checked + .dch-radio-custom {
    border-color: #0066cc;
    background-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

/* Häkchen im Radio-Button */
.dch-payment-method-radio input[type="radio"]:checked + .dch-radio-custom::after {
    content: '✓';
    color: #fff;
    font-size: 14px;
    font-weight: bold;
}

/* Text neben dem Radio-Button */
.dch-payment-method-text {
    font-size: 17px;
    color: #333;
    font-weight: 500;
}

/* Hover-Effekt */
.dch-payment-method-radio:hover .dch-radio-custom {
    border-color: #0066cc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dch-payment-methods {
        flex-direction: column;
        gap: 12px;
    }
    
    .dch-payment-method-radio {
        min-width: 100%;
    }
    
    .dch-payment-total {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* ========================================
   ALTE ZAHLUNGSMETHODEN STYLES ENTFERNEN
   (Diese Styles sollten NICHT mehr verwendet werden)
   ======================================== */

/* DEAKTIVIERT - Alte Payment Card Styles */
.dch-payment-selection { 
    display: none !important;
}

.dch-payment-card { 
    display: none !important;
}

.dch-card-content { 
    display: none !important;
}


/* --- Checkout Button-Bereiche --- */

/* Container für die 3 Buttons unter der Zusammenfassung */
.dch-checkout-actions {
    display: flex;
    gap: 10px;
    margin: 20px 0 30px 0;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

/* Die neue Klasse für die Verwaltungs-Buttons (Zurück, Löschen, Leeren) */
.dch-btn-manage {
    background: #f8f9fa;
    border: 1px solid #ddd;
    color: #666;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1; /* Macht alle Buttons gleich breit */
    max-width: 150px;
}

.dch-btn-manage:hover {
    background: #e9ecef;
    border-color: #ccc;
    color: #333;
}

/* Wrapper für die Zentrierung des finalen Buttons */
.dch-final-submit-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    padding: 20px 0;
}

/* Die neue Klasse für den Haupt-Bestell-Button */
.dch-btn-submit-order {
    background: #28a745; /* Ein kräftiges Grün */
    color: #ffffff !important;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    transition: all 0.3s ease;
}

.dch-btn-submit-order:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.dch-btn-submit-order:active {
    transform: translateY(0);
}

/* Styling für die Lösch-Icons in der Warenkorb-Tabelle */
.dch-table span[onclick^="removeItem"] {
    display: inline-block;
    transition: transform 0.2s ease, color 0.2s ease;
    cursor: pointer;
    font-size: 1.1em;
    vertical-align: middle;
    /* Standardfarbe (dezentes Grau oder Rot) */
    color: #888; 
}

/* Hover-Effekt: Icon wird rot und etwas größer */
.dch-table span[onclick^="removeItem"]:hover {
    color: #dc3545 !important; /* WordPress Danger-Rot */
    transform: scale(1.2);
}

/* Optional: Zellenausrichtung verbessern */
.dch-table td {
    vertical-align: middle;
}

/* Tooltip-Stil (falls der Browser ihn nicht automatisch hübsch macht) */
.dch-table span[title] {
    position: relative;
}

/* FOOTER & BUTTONS */
.dch-checkout-footer-btns {
    display: flex; 
    gap: 10px; 
    margin-top: 20px; 
    flex-wrap: wrap;
}

.dch-checkout-footer-btns .dch-btn {
    flex: 1;
    min-width: 150px;
}

.dch-submit-final { 
    flex: 1;
    min-width: 150px;
    background: #28a745; 
    color: #fff; 
    border: none; 
    padding: 18px; 
    border-radius: 8px; 
    font-weight: bold; 
    cursor: pointer; 
    font-size: 1.1em; 
    transition: background 0.2s;
}

.dch-submit-final:hover {
    background: #218838;
}

.dch-legal-row {
    margin-bottom: 15px;
}

/* 8. FOOTER ACTIONS */
.dch-action-footer {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 50px;
    padding: 30px 0;
    border-top: 1px solid #f0f0f0;
}

/* ========================================
   DANKE-SEITE (Thanks Page) STYLES
   ======================================== */

.dch-thanks-box {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 600px;
    margin: 40px auto;
}

.dch-thanks-icon {
    font-size: 80px;
    color: #28a745;
    margin-bottom: 20px;
    display: block;
    animation: scaleIn 0.6s ease-out;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.dch-thanks-box h1 {
    font-size: 32px;
    color: #333;
    margin: 20px 0;
    font-weight: 600;
}

.dch-thanks-text {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 20px 0 30px 0;
}

.dch-thanks-actions {
    margin-top: 30px;
}

.dch-thanks-actions .dch-btn-primary {
    padding: 15px 40px;
    font-size: 16px;
    background: #333333;
    color: #fff !important;
    text-decoration: none;
    border-radius: 30px;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.dch-thanks-actions .dch-btn-primary:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Responsive Design für Danke-Seite */
@media (max-width: 768px) {
    .dch-thanks-box {
        padding: 40px 20px;
        margin: 20px auto;
    }
    
    .dch-thanks-icon {
        font-size: 60px;
    }
    
    .dch-thanks-box h1 {
        font-size: 24px;
    }
    
    .dch-thanks-text {
        font-size: 14px;
    }
}

/* ========================================
   NEUE FORM-ELEMENTE CSS
   (Diese Zeilen am Ende von style.css hinzufügen)
   ======================================== */

/* Select-Feld (Land-Auswahl) - gleich wie Input-Felder */
.dch-checkout-grid select,
.dch-form-select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 15px;
    background-color: #fff;
    cursor: pointer;
    transition: border-color 0.2s;
}

.dch-checkout-grid select:focus,
.dch-form-select:focus {
    outline: none;
    border-color: #333333;
}

/* Textarea-Feld (Nachricht) - gleich wie Input-Felder */
.dch-checkout-grid textarea,
.dch-form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 15px;
    min-height: 100px;
    resize: vertical;
    transition: border-color 0.2s;
}

.dch-checkout-grid textarea:focus,
.dch-form-textarea:focus {
    outline: none;
    border-color: #333333;
}

/* Zeichen-Zähler (0/500) - gleiche Schriftgröße wie andere Texte */
.dch-char-counter {
    text-align: right;
    font-size: 15px;
    color: #666;
    margin-top: 5px;
}

/* Validierungs-Meldung für UID */
.dch-validation-message {
    display: none;
    margin-top: 10px;
    padding: 10px;
    border-radius: 4px;
    font-size: 15px;
}

/* Allgemeine Meldungs-Styles */
.dch-notice {
    display: none;
    margin-top: 15px;
    padding: 15px;
    border-radius: 4px;
    font-size: 15px;
    line-height: 1.5;
}

/* Reverse-Charge Meldung */
.dch-notice-reverse-charge {
    background-color: #f0f7ff;
    border-left: 4px solid #0066cc;
}

/* Schweiz Steuerfrei Meldung */
.dch-notice-tax-free {
    background-color: #e8f5e9;
    border-left: 4px solid #4caf50;
}

