.voucher-card{

    display:block;
    cursor:pointer;
    text-align:center;

}

.voucher-card input{

    display:none;

}

.voucher-image{

    overflow:hidden;
    border-radius:12px;
    border:3px solid #ddd;
    transition:.25s;

    box-shadow:0 8px 20px rgba(0,0,0,.15);

}

.voucher-image img{

    width:100%;
    display:block;

}

.voucher-title{

    margin-top:15px;
    font-weight:600;
    font-size:18px;

}

.voucher-card input:checked + .voucher-image{

    border:3px solid #caa14b;

    transform:scale(1.03);

    box-shadow:0 15px 35px rgba(0,0,0,.3);

}

.zahlung-grid{

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    margin-top:30px;

}

.zahlung-card{

    cursor:pointer;
    text-align:center;
    padding:25px;
    transition:.25s;

}

.zahlung-card:hover{

    transform:translateY(-4px);

}

.zahlung-icon{

    font-size:34px;
    margin-bottom:15px;

}

.zahlung-title{

    font-size:18px;
    font-weight:600;

}

.zahlung-text{

    margin-top:10px;
    font-size:14px;
    color:#777;

}

.zahlung-card.active{

    border:2px solid #c89d5a;
    box-shadow:0 12px 25px rgba(0,0,0,.12);

}

.checkout-consent{

    margin-top:50px;

}

.consent-card{

    display:flex;
    align-items:left;

    gap:18px;

    padding:22px;

    margin-bottom:18px;

    border:1px solid #ddd;

    border-radius:12px;

    cursor:pointer;

    transition:.25s;

    background:#fff;

}

.consent-card:hover{

    border-color:#c89d5a;

    box-shadow:0 8px 20px rgba(0,0,0,.08);

}

.consent-card input{

    display:none;

}

.checkmark{

    width:26px;
    height:26px;

    border:2px solid #bbb;

    border-radius:7px;

    flex-shrink:0;

    margin-top:2px;

    transition:.25s;

}

.consent-card input:checked + .checkmark{

    background:#c89d5a;

    border-color:#c89d5a;

    position:relative;

}

.consent-card input:checked + .checkmark::after{

    content:"✓";

    position:absolute;

    color:#fff;

    font-size:16px;

    left:5px;

    top:0;

}

.consent-content strong{

    display:block;

    margin-bottom:6px;

    font-size:17px;

}

.consent-content p{

    margin:0;

    color:#666;

}

.consent-content a{

    color:#c89d5a;

    text-decoration:none;

}

.consent-content a:hover{

    text-decoration:underline;

}
/* ==========================================================
   Gutschein Produktbühne
========================================================== */

.card-white{

    background:#ffffff;

    border-radius:16px;

    padding:35px;

    box-shadow:0 15px 40px rgba(0,0,0,.08);

}

.gutschein-stage{

    display:flex;

    justify-content:center;

    align-items:center;

    padding:35px;

    margin-top:25px;

    background:#f7f8fa;

    border-radius:14px;

}

.gutschein-canvas{

    transition:.25s;

}

.gutschein-canvas:hover{

    transform:scale(1.02);

}

/* ==========================================================
   Bestellübersicht


.checkout-summary{

    position:sticky;
    top:30px;

}

.summary-item{

    display:flex;

    justify-content:space-between;

    align-items:flex-start;

    gap:15px;

    padding:16px 0;

    border-bottom:1px solid #ececec;

}

.summary-item span{

    color:#777;

    font-size:14px;

}

.summary-item strong{

    font-weight:600;

    text-align:right;

    color:#ccc;

}

.summary-message{

    max-width:180px;

    text-align:right;

    color:#444;

    line-height:1.45;

}

.summary-total{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-top:25px;

    font-size:20px;

}

.summary-total strong{

    font-size:30px;

    color:#eb601a;

}
========================================================== */
.payment-note{

    margin-top:25px;

    padding:15px;

    border-radius:10px;

    background:#f8f8f8;

    font-size:14px;

    line-height:1.5;

    color:#555;

}

.payment-note i{

    margin-right:8px;

    color:#eb601a;

}
/* ==========================================================
   Buttons
========================================================== */

.checkout-actions{

    display:flex;
	
	background: #404040;

    justify-content:space-between;

    align-items:center;

    margin:50px 0;

    gap:20px;

}

@media(max-width:768px){

    .checkout-actions{

        flex-direction:column;

    }

    .checkout-actions .btn{

        width:100%;

    }

}

/* ==========================================================
   Gutschein-Vorschau
========================================================== */

.gutschein-vorschau{

    display:flex;
    justify-content:center;
    margin:40px auto;

}

.gutschein-canvas{

    position:relative;

    width:148mm;
    height:105mm;

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    overflow:hidden;

    border-radius:8px;

    box-shadow:
        0 15px 35px rgba(0,0,0,.18);

    background-color:#fff;

}


/* Alle Texte */

.gutschein-element{

    position:absolute;

    white-space:pre-line;

    line-height:1.1;

    box-sizing:border-box;

}


/* QR-Code */

.gutschein-canvas img{

    display:block;

}

/*
======================================================
Prüfseite
======================================================
*/

.preview-card{

    background:#fff;
    border-radius:16px;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
    overflow:hidden;

}

.preview-image{

    position:relative;

}

.preview-image img{

    width:100%;
    display:block;

}

.dummy-overlay{

    position:absolute;

    left:30px;
    bottom:30px;

    background:rgba(255,255,255,.92);

    padding:20px;

    border-radius:12px;

    backdrop-filter:blur(8px);

}

.dummy-code{

    font-size:22px;

    font-weight:700;

    letter-spacing:3px;

    margin-bottom:20px;

}

.dummy-qr{

    width:120px;
    height:120px;

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:4px;

    margin-bottom:15px;

}

.dummy-qr div{

    background:#000;
    border-radius:2px;

}

.checkout-card{

    background:#fff;

    border-radius:16px;

    padding:35px;

    box-shadow:0 15px 40px rgba(0,0,0,.08);

}

.checkout-card td{

    padding:12px 0;

}

.checkout-buttons{

    display:flex;

    gap:15px;

}

.checkout-buttons .btn{

    flex:1;

    padding:16px;

    font-size:18px;

    border-radius:10px;

}
/* ==========================================================
   Gutschein erstellen
   Dark Design
========================================================== */


html,
body{

    margin:0;
    padding:0;

    min-height:100%;

    background:#404040;

    color:#ffffff;

    font-family:Arial,Helvetica,sans-serif;

}


/* ==========================================================
   TITEL
========================================================== */


.page-title{

    text-align:center;

    margin:30px 0 35px;

    font-size:30px;

    font-weight:300;

}



/* ==========================================================
   MELDUNGEN
========================================================== */


.message{

    width:1400px;

    max-width:90%;

    margin:0 auto 20px;

    padding:15px;

    border-radius:8px;

}


.message.error{

    background:#541d24;

    border:1px solid #a43b48;

}



/* ==========================================================
   HAUPT LAYOUT
========================================================== */


.create-wrapper{

    width:1400px;

    max-width:95%;

    margin:auto;

    display:grid;

    grid-template-columns:380px 1fr;

    gap:35px;

    align-items:start;

}



/* ==========================================================
   KARTEN
========================================================== */


.form-card,
.template-card-area{

    background:#1b2029;

    border:1px solid #303849;

    border-radius:14px;

    padding:25px;

    box-shadow:
        0 15px 35px rgba(0,0,0,.4);

}


h2{

    margin:0 0 20px;

    font-size:20px;

    font-weight:500;

}



/* ==========================================================
   FORMULAR
========================================================== */


label{

    display:block;

    margin-top:15px;

    margin-bottom:6px;

    color:#cbd0db;

    font-size:13px;

}



input,
select{


    width:100%;

    height:42px;

    padding:0 12px;

    box-sizing:border-box;

    background:#262d3a;

    border:1px solid #414b5d;

    border-radius:7px;

    color:#ffffff;

}



input:focus,
select:focus{

    outline:none;

    border-color:#2c7be5;

}



/* ==========================================================
   BUTTON
========================================================== */


button{

    width:100%;

    margin-top:25px;

    padding:13px;

    border:none;

    border-radius:8px;

    background:#2c7be5;

    color:white;

    font-size:15px;

    font-weight:bold;

    cursor:pointer;

}


button:hover{

    background:#1565c0;

}



/* ==========================================================
   VORLAGEN
========================================================== */


.template-grid{

    display:grid;

    grid-template-columns:

        repeat(auto-fill,minmax(220px,1fr));

    gap:20px;

}



.template-card{


    background:#252c39;

    border:2px solid transparent;

    border-radius:10px;

    overflow:hidden;

    cursor:pointer;

    transition:.2s;

}



.template-card:hover{

    transform:translateY(-4px);

    border-color:#2c7be5;

}



/* aktive Vorlage */


.template-card.active{

    border-color:#2c7be5;

    box-shadow:

        0 0 0 3px rgba(44,123,229,.25);

}



.template-card > img,
.template-card .template-image img {
    width:100%;
    height:160px;
    object-fit:cover;
    display:block;
}



.template-name{

    padding:12px;

    text-align:center;

    font-weight:bold;

}



/* ==========================================================
   VORSCHAU
========================================================== */


.preview-title{

    margin-top:35px;

}



.preview-box{


    background:#111;

    border:1px solid #3b4252;

    border-radius:10px;

    padding:20px;

    text-align:center;

}





.preview-box img{


    max-width:100%;

    width:600px;

    box-shadow:

        0 10px 30px rgba(0,0,0,.6);

}

/* ==========================================================
   Voucher
========================================================== */

.voucher-values{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:15px;
}


.voucher-values input{
    display:none;
}


.voucher-values span{

    display:block;
    padding:15px 30px;
    border:1px solid #ddd;
    cursor:pointer;
    font-size:20px;
    transition:.3s;

}


.voucher-values input:checked + span{

    background:#333;
    color:#fff;

}

.value-grid{

    display:grid;

    grid-template-columns:
        repeat(3,1fr);

    gap:25px;

    margin-top:35px;

}



.value-card{

    background:#fff;

    border-radius:10px;

    cursor:pointer;

    box-shadow:0 8px 25px rgba(0,0,0,.08);

    transition:.25s;

    text-align:center;

    padding:35px 15px;

}



.value-card:hover{

    transform:translateY(-4px);

}



.value-card.active{

    border:3px solid #b38b59;

}



.value-price{

    font-size:32px;

    font-weight:600;

    color:#333;

}

.betrag-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:20px;
    margin-top:30px;
}

.betrag-card{
    cursor:pointer;
    transition:.25s;
    text-align:center;
    min-height:70px;

    display:flex;
    align-items:center;
    justify-content:center;
}

.betrag-card.individuell{
    grid-column:2 / span 3;
}

.betrag-wert{
    font-size:28px;
    font-weight:700;
    line-height:1.3;
}

.checkout-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    max-width: 700px;
    margin: 40px auto;
    position: relative;
}


.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 180px;
}


.step-number {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #B3C7DC;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
}


.step-text {
    margin-top: 12px;
    font-size: 14px;
    color: #B3C7DC;
    text-align: center;
    white-space: nowrap;
}


/* Aktiver Schritt */

.step.active .step-number {
    background: #B3C7DC;
    color: white;
    transform: scale(1.08);
}


.step.active .step-text {
    color: #B3C7DC;
    font-weight: 600;
}


/* Fertiger Schritt */

.step.completed .step-number {
    background: #CE5F27;
    color: white;
}


.step.completed .step-text {
    color: #CE5F27;
    font-weight: 500;
}


/* Verbindungslinien */

.step-line {
    height: 2px;
    background: #B3C7DC;
    flex: 1;
    margin-top: 20px;
    max-width: 120px;
}


.step-line.active {
    background: #CE5F27;
}


/* Hover kleine Animation */

.step:hover .step-number {
    transform: scale(1.1);
}


/* Mobile Ansicht */

@media (max-width: 600px) {

    .checkout-steps {
        padding: 0 10px;
    }

    .step {
        width: auto;
        flex: 1;
    }

    .step-text {
        font-size: 12px;
        white-space: normal;
    }

    .step-line {
        max-width: 50px;
    }

}

/* ==========================================================
   RESPONSIVE
========================================================== */


@media(max-width:1100px){


.create-wrapper{

    grid-template-columns:1fr;

}


}
/* ==========================================================
   Erfolgsseite
========================================================== */

.success-icon{

    margin-bottom:20px;

}

.success-icon i{

    color:#46B96A;
    font-size:72px;

}

.template-card-area h1{

    color:#B3C7DC;
    font-weight:700;
    margin-bottom:15px;

}

.template-card-area .lead{

    font-size:1.15rem;
    color:#999;

}

.template-card-area p{

    color:#999;
    line-height:1.7;

}


/* ==========================================================
   Zahlungsbox
========================================================== */

.template-card-area h2{

    color:#B3C7DC;
    margin-bottom:25px;
    font-weight:700;

}

.template-card-area h2 i{

    margin-right:10px;

}

.summary-message{

    background:#F8F9FB;
    border:1px solid #E4EAF1;
    border-left:5px solid #CE5F27;
    border-radius:10px;
    padding:22px;
    margin:25px 0;

    line-height:1.9;

}

.summary-message hr{

    margin:18px 0;
    border-color:#D9E2EC;

}


/* ==========================================================
   Hinweise
========================================================== */

.alert{

    border-radius:10px;
    padding:18px 22px;

}

.alert i{

    color:#CE5F27;
    margin-right:8px;

}


/* ==========================================================
   Gutscheinübersicht
========================================================== */

.checkout-summary{

    height:100%;

}

.checkout-summary h3{

    color:#B3C7DC;
    margin-bottom:25px;

}

.summary-item{

    display:flex;
    justify-content:space-between;
    align-items:flex-start;

    gap:20px;

    padding:14px 0;

    border-bottom:1px solid #ECECEC;

}

.summary-item:last-child{

    border-bottom:none;

}

.summary-item span{

    color:#777;

}

.summary-item strong{

    color:#222;
    text-align:right;

}

.code{

    font-family:monospace;
    font-size:1.05rem;
    color:#CE5F27;
    letter-spacing:1px;

}


/* ==========================================================
   Buttons
========================================================== */

.checkout-actions{

    margin-top:30px;

}

.checkout-actions .btn{

    padding:14px 20px;
    border-radius:8px;

}


/* ==========================================================
   Responsive
========================================================== */

@media(max-width:991px){

    .summary-item{

        flex-direction:column;
        gap:4px;

    }

    .summary-item strong{

        text-align:left;

    }

}/* ==========================================================
   Erfolgsseite - Textfarben korrigieren
========================================================== */

.template-card-area{

    color:#999;

}

.template-card-area p,
.template-card-area li,
.template-card-area strong,
.template-card-area span,
.template-card-area div{

    color:#999;

}

.template-card-area h2,
.template-card-area h3{

    color:#B3C7DC;

}

.summary-message{

    color:#999;

}

.summary-message strong{

    color:#222;

}

.alert{

    color:#999;

}

.alert i{

    color:#CE5F27;

}
.history-table{

    width:100%;
    border-collapse:collapse;
    margin-top:15px;

}

.history-table th{

    background:#B3C7DC;
    color:#333;
    text-align:left;
    padding:12px 14px;
    font-weight:600;

}

.history-table td{

    padding:12px 14px;
    border-bottom:1px solid #e9e9e9;
    vertical-align:middle;

}

.history-table tr:nth-child(even){

    background:#fafafa;

}

.history-table tr:hover{

    background:#f4f7fa;

}

.history-table td:nth-child(1){

    width:180px;
    white-space:nowrap;

}

.history-table td:nth-child(2){

    width:120px;
    text-align:right;
    font-weight:bold;
    color:#CE5F27;
    white-space:nowrap;

}

.history-table td:nth-child(3){

    width:220px;

}
/* ----------------------------------------------------------
   Bestellbutton – Ladezustand
---------------------------------------------------------- */

.button-loading {
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.button-loading .spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #ffffff;
    border-radius: 50%;
    display: inline-block;
    animation: checkout-spin 0.8s linear infinite;
}

@keyframes checkout-spin {
    to {
        transform: rotate(360deg);
    }
}

#checkout-submit:disabled {
    opacity: 0.85;
    cursor: wait;
}
/* ==========================================================
   Newsletter im Footer
========================================================== */

.widget-subscribe-form .input-group{

    display:flex;
    align-items:stretch;

}

.widget-subscribe-form .input-group-btn{

    display:flex;
    align-items:stretch;

}

.widget-subscribe-form .input-group-btn button,
.widget-subscribe-form .input-group-btn .btn{

    width:auto;
    margin-top:0;
    height:100%;
    padding:10px 16px;

}