/* Gutscheinseiten. Nutzt die Variablen aus style.css, überschreibt nichts davon. */

.voucher-page {
    background: linear-gradient(180deg, #FFFFFF 0%, #FBF8F2 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.voucher-header {
    padding: 22px 0;
    border-bottom: 1px solid rgba(201, 162, 39, .22);
    background: #fff;
}
.voucher-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.voucher-header .logo-image { height: 46px; width: auto; }
.voucher-back {
    font-size: .85rem;
    letter-spacing: .04em;
    color: var(--gold-dark);
    text-decoration: none;
    white-space: nowrap;
}
.voucher-back:hover { color: var(--gold); }

.voucher-main { flex: 1; padding: 54px 0 70px; }
.voucher-narrow { max-width: 680px; }

.voucher-intro { text-align: center; margin-bottom: 40px; }
.voucher-intro h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.9rem, 5vw, 2.7rem);
    color: var(--primary-color);
    margin-bottom: 12px;
}
.voucher-intro .voucher-kicker {
    font-family: 'Tenor Sans', sans-serif;
    letter-spacing: .28em;
    text-transform: uppercase;
    font-size: .72rem;
    color: var(--gold-dark);
    margin-bottom: 14px;
}
.voucher-intro p { color: #6B6355; max-width: 52ch; margin: 0 auto; }

.voucher-card {
    background: #fff;
    border: 1px solid rgba(201, 162, 39, .28);
    border-radius: 14px;
    padding: 34px;
    box-shadow: 0 10px 34px rgba(63, 55, 44, .07);
}
.voucher-card-message { text-align: center; }
.voucher-card-message h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    margin: 14px 0 10px;
    color: var(--primary-color);
}
.voucher-card-message p { color: #6B6355; margin-bottom: 22px; }

.voucher-icon-warn { font-size: 2.1rem; color: var(--gold-dark); }
.voucher-icon-ok   { font-size: 2.4rem; color: var(--gold); }

/* Betragsstufen */
.tier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
    gap: 13px;
    margin-bottom: 28px;
}
.tier-option input { position: absolute; opacity: 0; pointer-events: none; }
.tier-option label {
    display: block;
    text-align: center;
    padding: 22px 10px;
    border: 1.5px solid rgba(201, 162, 39, .34);
    border-radius: 11px;
    cursor: pointer;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: border-color .18s, background .18s, transform .18s;
}
.tier-option label:hover { border-color: var(--gold); transform: translateY(-2px); }
.tier-option input:checked + label {
    border-color: var(--gold);
    background: rgba(201, 162, 39, .09);
    box-shadow: inset 0 0 0 1px var(--gold);
}
.tier-option input:focus-visible + label { outline: 2px solid var(--gold-dark); outline-offset: 2px; }

.voucher-field { margin-bottom: 19px; }
.voucher-field label {
    display: block;
    font-size: .78rem;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: #857C6C;
    margin-bottom: 7px;
}
.voucher-field input[type="text"],
.voucher-field input[type="email"] {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid rgba(63, 55, 44, .18);
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: var(--primary-color);
    background: #fff;
}
.voucher-field input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, .16);
}

.voucher-consent {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    font-size: .84rem;
    color: #6B6355;
    margin: 22px 0 26px;
}
.voucher-consent input { margin-top: 3px; flex-shrink: 0; }
.voucher-consent a { color: var(--gold-dark); }

.voucher-submit { width: 100%; padding: 16px; font-size: 1rem; border: none; cursor: pointer; }

.voucher-secure {
    text-align: center;
    font-size: .76rem;
    color: #9A9285;
    margin-top: 15px;
}
.voucher-secure i { color: var(--gold-dark); }

.voucher-error {
    background: #FDF2F2;
    border: 1px solid #F0C9C9;
    color: #8C3A3A;
    border-radius: 9px;
    padding: 13px 16px;
    margin-bottom: 22px;
    font-size: .9rem;
}

/* Statusansicht des Gutscheins */
.balance-box { text-align: center; padding: 30px 20px; border-bottom: 1px solid rgba(201,162,39,.2); }
.balance-label {
    font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: #9A9285;
}
.balance-amount {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.4rem, 8vw, 3.4rem);
    color: var(--primary-color);
    line-height: 1.1;
    margin: 6px 0;
}
.balance-of { font-size: .88rem; color: #857C6C; }
.voucher-code-display {
    font-family: 'Courier New', monospace;
    font-size: 1.28rem;
    letter-spacing: .09em;
    color: var(--gold-dark);
    font-weight: 700;
    text-align: center;
    margin: 22px 0 6px;
}

.voucher-meta { list-style: none; padding: 0; margin: 24px 0 0; }
.voucher-meta li {
    display: flex; justify-content: space-between; gap: 14px;
    padding: 11px 0; border-bottom: 1px solid rgba(63,55,44,.08);
    font-size: .9rem;
}
.voucher-meta li:last-child { border-bottom: none; }
.voucher-meta span:first-child { color: #857C6C; }
.voucher-meta span:last-child { color: var(--primary-color); font-weight: 500; text-align: right; }

.status-pill {
    display: inline-block; padding: 3px 11px; border-radius: 999px;
    font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 600;
}
.status-active    { background: rgba(201,162,39,.14); color: var(--gold-dark); }
.status-used      { background: rgba(63,55,44,.09);  color: #6B6355; }
.status-expired,
.status-cancelled { background: #FBECEC; color: #8C3A3A; }
.status-pending   { background: #FFF6E5; color: #97701A; }

.voucher-history { margin-top: 26px; }
.voucher-history h2 {
    font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
    color: #857C6C; margin-bottom: 12px;
}
.voucher-history ul { list-style: none; padding: 0; margin: 0; }
.voucher-history li {
    display: flex; justify-content: space-between; gap: 12px;
    padding: 10px 0; border-bottom: 1px solid rgba(63,55,44,.07); font-size: .87rem;
}
.voucher-history .hist-note { color: #857C6C; font-size: .8rem; }

.voucher-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.voucher-actions .btn { flex: 1 1 200px; text-align: center; }

.voucher-footer {
    padding: 26px 0 34px;
    text-align: center;
    font-size: .82rem;
    color: #8B8275;
    border-top: 1px solid rgba(201, 162, 39, .2);
    background: #fff;
}
.voucher-footer a { color: var(--gold-dark); text-decoration: none; }
.voucher-footer a:hover { text-decoration: underline; }
.voucher-footer-links { margin-top: 7px; }

/* Bedingungen */
.voucher-terms h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem; color: var(--primary-color); margin-bottom: 8px;
}
.voucher-terms h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.12rem; color: var(--primary-color); margin: 28px 0 9px;
}
.voucher-terms p, .voucher-terms li { color: #5F5849; font-size: .93rem; margin-bottom: 10px; }
.voucher-terms ul { padding-left: 20px; }
.voucher-terms .updated { color: #9A9285; font-size: .8rem; margin-bottom: 26px; }

@media (max-width: 600px) {
    .voucher-card { padding: 24px 19px; }
    .voucher-main { padding: 34px 0 50px; }
    .voucher-header .logo-image { height: 38px; }
    .voucher-back { font-size: .8rem; }
}

/* ===== Barzahlung im Salon ===== */
.cash-card { margin-bottom: 22px; }

.cash-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(201, 162, 39, .12);
    color: var(--gold-dark);
    padding: 7px 15px;
    border-radius: 999px;
    font-size: .76rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 22px;
}

.cash-card h2, .cash-visit h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    color: var(--primary-color);
    margin: 0 0 16px;
}

.cash-steps { margin: 0 0 22px; padding-left: 22px; }
.cash-steps li { color: #5F5849; margin-bottom: 11px; line-height: 1.6; }
.cash-steps strong { color: var(--primary-color); }

.cash-note { color: #857C6C; font-size: .9rem; margin-bottom: 8px; }
.cash-tier {
    display: inline-block;
    margin: 4px 5px 0 0;
    padding: 4px 13px;
    border: 1px solid rgba(201, 162, 39, .4);
    border-radius: 999px;
    font-family: 'Playfair Display', serif;
    font-size: .98rem;
    color: var(--primary-color);
}

.cash-address {
    display: flex; gap: 11px; align-items: flex-start;
    color: var(--primary-color); line-height: 1.6; margin-bottom: 16px;
}
.cash-address i { color: var(--gold-dark); margin-top: 4px; }

.cash-hours { list-style: none; padding: 0; margin: 0 0 24px; }
.cash-hours li {
    display: flex; gap: 11px; align-items: center;
    color: #5F5849; font-size: .92rem; padding: 5px 0;
}
.cash-hours i { color: var(--gold-dark); font-size: .85rem; }

/* Die Telefonnummer ist lang — der Knopf braucht Platz, sonst bricht sie um. */
.cash-visit .voucher-actions .btn { flex: 1 1 250px; white-space: nowrap; }
@media (max-width: 560px) {
    .cash-visit .voucher-actions .btn { flex: 1 1 100%; white-space: normal; }
}
