/* FKK Universum Gutschein Shop Stylesheet */

:root {
    --primary: #D10A10;
    --primary-dark: #A00000;
    --secondary: #D4AF37;
    --accent: #F0E68C;
    --dark: #000000;
    --gray-dark: #1a1a1a;
    --gray: #333333;
    --light: #ffffff;
    --red-glow: rgba(209, 10, 16, 0.3);
    --gold-glow: rgba(212, 175, 55, 0.3);
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --info: #17a2b8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: radial-gradient(ellipse at center, #1a1a1a 0%, #000000 70%);
    min-height: 100vh;
    color: var(--light);
    position: relative;
    overflow-x: hidden;
    line-height: 1.6;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, var(--red-glow) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, var(--gold-glow) 0%, transparent 50%),
        radial-gradient(circle at 40% 70%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(26,26,26,0.95) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.5),
        0 0 30px var(--red-glow),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        conic-gradient(from 0deg, transparent, var(--gold-glow), transparent),
        conic-gradient(from 90deg, transparent, var(--red-glow), transparent);
    animation: rotate 20s linear infinite;
    opacity: 0.1;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.logo-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    margin-right: 20px;
    border: 3px solid var(--secondary);
    box-shadow: 
        0 0 20px var(--red-glow),
        0 0 40px var(--red-glow),
        inset 0 2px 0 rgba(255, 255, 255, 0.2);
}

.logo-text {
    font-size: 36px;
    font-weight: 900;
    color: var(--light);
    text-shadow: 
        0 0 10px var(--red-glow),
        0 2px 4px rgba(0, 0, 0, 0.8);
}

.logo-text span {
    color: var(--secondary);
    text-shadow: 
        0 0 10px var(--gold-glow),
        0 2px 4px rgba(0, 0, 0, 0.8);
}

.tagline {
    color: var(--accent);
    font-size: 18px;
    margin-top: 15px;
    font-weight: 300;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 2;
}

/* Alert Styles */
.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideDown 0.3s ease;
}

.alert-success {
    background: rgba(40, 167, 69, 0.2);
    border: 1px solid var(--success);
    color: var(--light);
}

.alert-error {
    background: rgba(220, 53, 69, 0.2);
    border: 1px solid var(--danger);
    color: var(--light);
}

@keyframes slideDown {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Step Indicator */
.step-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    gap: 40px;
}

.step {
    display: flex;
    align-items: center;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.step.active {
    opacity: 1;
}

.step-number {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gray), var(--gray-dark));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 12px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-color: var(--secondary);
    box-shadow: 0 0 15px var(--red-glow);
}

.step span {
    color: var(--accent);
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

/* Main Layout */
.main-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
    align-items: start;
}

.voucher-builder {
    background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(26,26,26,0.95) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(212, 175, 55, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--light);
    display: flex;
    align-items: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.section-title::before {
    content: '';
    width: 4px;
    height: 35px;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    margin-right: 15px;
    border-radius: 2px;
    box-shadow: 0 0 10px var(--red-glow);
}

/* Form Sections */
.form-section {
    margin-bottom: 30px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(209, 10, 16, 0.05) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.form-section h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--secondary);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--accent);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.required {
    color: var(--danger);
}

input, textarea, select {
    width: 100%;
    padding: 15px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.6);
    color: var(--light);
    font-family: inherit;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 
        0 0 10px var(--gold-glow),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

input::placeholder, textarea::placeholder {
    color: rgba(240, 230, 140, 0.6);
}

textarea {
    resize: vertical;
    min-height: 80px;
}

/* Club Selector */
.club-selector {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.club-card {
    padding: 20px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(26,26,26,0.8) 100%);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.club-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.5s ease;
}

.club-card:hover::before {
    left: 100%;
}

.club-card:hover {
    border-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 
        0 10px 20px rgba(0, 0, 0, 0.3),
        0 0 30px var(--gold-glow);
}

.club-card.active {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(209, 10, 16, 0.2) 0%, rgba(212, 175, 55, 0.1) 100%);
    box-shadow: 
        0 10px 20px rgba(0, 0, 0, 0.3),
        0 0 30px var(--red-glow);
}

.club-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.club-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--light);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.club-price {
    font-size: 24px;
    font-weight: 900;
    color: var(--secondary);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.club-description {
    color: var(--accent);
    font-size: 14px;
    opacity: 0.9;
}

/* Template Selector */
.template-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.template-card {
    aspect-ratio: 3/2;
    border: 3px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.template-card.active {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--red-glow);
}

.template-vip {
    background: linear-gradient(135deg, #1a1a1a, #333333);
}

.template-luxury {
    background: linear-gradient(135deg, #D10A10, #A00000);
}

.template-gold {
    background: linear-gradient(135deg, #D4AF37, #F0E68C);
}

.template-platinum {
    background: linear-gradient(135deg, #434343, #000000);
}

.template-name {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 11px;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

/* Payment Methods */
.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.payment-method {
    padding: 15px 10px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.6);
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
}

.payment-method:hover, .payment-method.active {
    border-color: var(--secondary);
    background: rgba(212, 175, 55, 0.1);
    box-shadow: 0 0 15px var(--gold-glow);
}

.payment-icon {
    font-size: 20px;
    margin-bottom: 5px;
}

/* Checkbox Styles */
.checkbox-group {
    margin-bottom: 15px;
}

.checkbox {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    position: relative;
    line-height: 1.4;
}

.checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 0;
    height: 0;
}

.checkmark {
    height: 20px;
    width: 20px;
    background-color: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 3px;
    margin-right: 10px;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.3s ease;
}

.checkbox:hover .checkmark {
    border-color: var(--secondary);
}

.checkbox input:checked ~ .checkmark {
    background-color: var(--secondary);
    border-color: var(--secondary);
}

.checkbox input:checked ~ .checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.checkbox a:hover {
    color: var(--accent);
}

/* Preview Card */
.preview-card {
    background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(26,26,26,0.95) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(212, 175, 55, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 20px;
}

.voucher-preview {
    aspect-ratio: 3/2;
    background: linear-gradient(135deg, #1a1a1a, #333333);
    border-radius: 15px;
    padding: 20px;
    color: white;
    position: relative;
    margin-bottom: 20px;
    overflow: visible;
    border: 2px solid var(--secondary);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 20px var(--gold-glow);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.voucher-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, var(--red-glow) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, var(--gold-glow) 0%, transparent 40%);
    opacity: 0.3;
    border-radius: 13px;
}

.voucher-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    /*margin-bottom: 15px;*/
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
    gap: 10px;
}

.voucher-logo {
    font-size: 14px;
    font-weight: 700;
    color: var(--secondary);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    flex-shrink: 0;
}

.voucher-type {
    font-size: 11px;
    opacity: 0.8;
    color: var(--accent);
    text-align: right;
    flex-shrink: 0;
}

.voucher-club {
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    /*margin: 10px 0;*/
    color: var(--light);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 2;
}

.voucher-amount {
    font-size: 28px;
    font-weight: 900;
    text-align: center;
    /*margin: 10px 0;*/
    color: var(--secondary);
    text-shadow: 
        0 0 10px var(--gold-glow),
        0 2px 4px rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 2;
}

.voucher-message {
    font-style: italic;
    margin-bottom: 10px;
    opacity: 0.9;
    position: relative;
    z-index: 2;
    font-size: 12px;
    text-align: center;
}

.voucher-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-size: 10px;
    opacity: 0.8;
    position: relative;
    z-index: 2;
    margin-top: auto;
}

/* Price Summary */
.price-summary {
    background: linear-gradient(135deg, rgba(209, 10, 16, 0.1) 0%, rgba(212, 175, 55, 0.1) 100%);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: var(--light);
}

.price-row.total {
    font-weight: 700;
    font-size: 18px;
    padding-top: 15px;
    border-top: 2px solid rgba(212, 175, 55, 0.3);
    color: var(--secondary);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* Purchase Button */
.purchase-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 15px;
    border: 2px solid var(--secondary);
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.3),
        0 0 20px var(--red-glow);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: inherit;
}

.purchase-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.4),
        0 0 30px var(--red-glow);
}

.purchase-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Security Info */
.security-info {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 12px;
    opacity: 0.8;
    margin-bottom: 20px;
}

.security-info::before {
    /*content: '🔒';*/
    margin-right: 8px;
}

/* Trust Badges */
.trust-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.trust-badge {
    text-align: center;
    padding: 10px 5px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.trust-icon {
    font-size: 20px;
    margin-bottom: 5px;
}

.trust-text {
    font-size: 10px;
    color: var(--accent);
    opacity: 0.8;
}

/* Features Section */
.features {
    background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(26,26,26,0.95) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 40px;
    margin: 40px 0;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(212, 175, 55, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.feature-card {
    padding: 25px;
    background: linear-gradient(135deg, rgba(209, 10, 16, 0.05) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-color: var(--secondary);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.feature-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--secondary);
}

.feature-desc {
    color: var(--accent);
    opacity: 0.9;
    line-height: 1.5;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, rgba(0,0,0,0.95) 0%, rgba(26,26,26,0.98) 100%);
    border-radius: 20px;
    padding: 40px;
    margin-top: 40px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: var(--secondary);
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--light);
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--accent);
    opacity: 0.8;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    flex-direction: column;
}

.loading-overlay.show {
    display: flex;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(212, 175, 55, 0.3);
    border-top: 4px solid var(--secondary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    color: var(--light);
    font-size: 18px;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .main-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .preview-card {
        position: relative;
        top: auto;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .header {
        padding: 30px 20px;
    }
    
    .logo-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
        margin-right: 15px;
    }
    
    .logo-text {
        font-size: 28px;
    }
    
    .tagline {
        font-size: 16px;
    }
    
    .step-indicator {
        gap: 20px;
    }
    
    .step span {
        display: none;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .club-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .template-selector {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .payment-methods {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .trust-badges {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .voucher-preview {
        min-height: 180px;
        padding: 15px;
    }
    
    .voucher-amount {
        font-size: 24px;
    }
    
    .club-card {
        padding: 15px;
    }
    
    .form-section {
        padding: 20px;
    }
    
    .purchase-btn {
        font-size: 16px;
        padding: 15px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection styles */
::selection {
    background: var(--secondary);
    color: var(--dark);
}

::-moz-selection {
    background: var(--secondary);
    color: var(--dark);
}

/* Scrollbar styles */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* Focus styles für bessere Accessibility */
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--secondary);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    body {
        background: white !important;
        color: black !important;
    }
    
    .header,
    .footer,
    .loading-overlay {
        display: none !important;
    }
    
    .voucher-preview {
        border: 2px solid #000 !important;
        box-shadow: none !important;
        background: white !important;
        color: black !important;
    }
    
    .purchase-btn,
    .step-indicator,
    .security-info {
        display: none !important;
    }
}

/* Accessibility Improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary: #FF0000;
        --secondary: #FFFF00;
        --accent: #FFFFFF;
        --light: #FFFFFF;
        --dark: #000000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .header::before {
        animation: none;
    }
}

/* Animation für bessere UX */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-section {
    animation: fadeInUp 0.6s ease-out;
}

.form-section:nth-child(2) { animation-delay: 0.1s; }
.form-section:nth-child(3) { animation-delay: 0.2s; }
.form-section:nth-child(4) { animation-delay: 0.3s; }

/* Error state styling */
.form-group.error input,
.form-group.error textarea,
.form-group.error select {
    border-color: var(--danger);
    box-shadow: 0 0 10px rgba(220, 53, 69, 0.3);
}

.form-group.error label {
    color: var(--danger);
}

.error-message {
    color: var(--danger);
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

/* Success state styling */
.form-group.success input,
.form-group.success textarea,
.form-group.success select {
    border-color: var(--success);
    box-shadow: 0 0 10px rgba(40, 167, 69, 0.3);
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid var(--secondary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Tooltip styles */
.tooltip {
    position: relative;
    cursor: help;
}

.tooltip::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.tooltip::after {
    content: '';
    position: absolute;
    bottom: 115%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.tooltip:hover::before,
.tooltip:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Additional responsive improvements */
@media (max-width: 320px) {
    .container {
        padding: 10px;
    }
    
    .header {
        padding: 20px 15px;
    }
    
    .logo-text {
        font-size: 24px;
    }
    
    .voucher-preview {
        min-height: 150px;
        padding: 12px;
    }
    
    .voucher-amount {
        font-size: 20px;
    }
}

/* Performance optimizations */
.header::before,
.voucher-preview::before {
    will-change: transform;
}

/* Prevents layout shift */
.voucher-preview {
    contain: layout style paint;
}

/* GPU acceleration for smooth animations */
.club-card,
.template-card,
.payment-method,
.purchase-btn {
    transform: translateZ(0);
    backface-visibility: hidden;
}
/* Ergänzungen zur voucher-shop.css - PROFESSIONELLE VOUCHER VORSCHAU */

/* Amount Display Section */
.amount-display {
    background: linear-gradient(135deg, rgba(209, 10, 16, 0.1) 0%, rgba(212, 175, 55, 0.1) 100%);
    border-radius: 12px;
    padding: 20px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    margin-bottom: 20px;
}

.selected-amount {
    display: flex;
    align-items: center;
    gap: 15px;
}

.amount-icon {
    font-size: 32px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px var(--gold-glow);
}

.amount-info {
    flex: 1;
}

.amount-value {
    font-size: 24px;
    font-weight: 900;
    color: var(--secondary);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    margin-bottom: 5px;
}

.amount-label {
    color: var(--accent);
    font-size: 14px;
    opacity: 0.9;
}

/* VERBESSERTE VOUCHER PREVIEW - PROFESSIONELL */
.voucher-preview {
    aspect-ratio: 3/2;
    background: linear-gradient(135deg, #1a1a1a, #333333);
    border-radius: 15px;
    padding: 20px;
    color: white;
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
    border: 2px solid var(--secondary);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 20px var(--gold-glow);
    min-height: 220px;
    display: flex;
    flex-direction: column;
}

.voucher-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    margin: 15px 0;
}

/* Voucher Footer - NEUE STRUKTUR */
.voucher-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
    gap: 15px;
    font-size: 11px;
    position: relative;
    z-index: 2;
}

.voucher-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.voucher-right {
    flex-shrink: 0;
    display: flex;
    align-items: flex-end;
}

.voucher-persons {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.person-info {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.person-label {
    font-weight: 700;
    color: var(--secondary);
    min-width: 30px;
    font-size: 11px;
}

.voucher-validity {
    font-size: 10px;
    opacity: 0.8;
    margin-top: 5px;
}

/* QR Code Preview - VERBESSERT */
.qr-code-preview {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 6px;
    padding: 4px;
    box-shadow: 
        0 3px 12px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.qr-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #000;
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

.qr-pattern {
    width: 100%;
    height: 75%;
    background: 
        linear-gradient(90deg, transparent 15%, #fff 15% 25%, transparent 25% 35%, #fff 35% 45%, transparent 45% 55%, #fff 55% 65%, transparent 65% 75%, #fff 75% 85%, transparent 85%),
        linear-gradient(0deg, transparent 15%, #fff 15% 25%, transparent 25% 35%, #fff 35% 45%, transparent 45% 55%, #fff 55% 65%, transparent 65% 75%, #fff 75% 85%, transparent 85%);
    background-size: 6px 6px;
    opacity: 0.9;
}

.qr-label {
    font-size: 7px;
    color: #fff;
    font-weight: 700;
    text-align: center;
    margin-top: 1px;
    letter-spacing: 0.5px;
}

/* Template Cards Enhanced */
.template-preview {
    width: 100%;
    height: 80px;
    border-radius: 8px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    overflow: hidden;
}

.template-sample {
    text-align: center;
    color: white;
    z-index: 2;
    position: relative;
}

.sample-logo {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 5px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.sample-amount {
    font-size: 20px;
    font-weight: 900;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* Character Counter */
.character-counter {
    text-align: right;
    margin-top: 5px;
    font-size: 12px;
    color: var(--accent);
    opacity: 0.8;
}

/* Template-spezifische Stile für bessere Vorschau */
.voucher-preview.template-vip {
    background: linear-gradient(135deg, #1a1a1a, #333333) !important;
}

.voucher-preview.template-luxury {
    background: linear-gradient(135deg, #D10A10, #A00000) !important;
}

.voucher-preview.template-gold {
    background: linear-gradient(135deg, #D4AF37, #F0E68C) !important;
    color: #000 !important;
}

.voucher-preview.template-gold .voucher-logo,
.voucher-preview.template-gold .voucher-amount,
.voucher-preview.template-gold .person-label {
    color: #000 !important;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.5) !important;
}

.voucher-preview.template-platinum {
    background: linear-gradient(135deg, #434343, #000000) !important;
}

/* Animation für QR-Code */
@keyframes qrGlow {
    0%, 100% { 
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.9); 
    }
    50% { 
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.4), 0 0 20px rgba(212, 175, 55, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.9); 
    }
}

.qr-code-preview {
    animation: qrGlow 4s ease-in-out infinite;
}

/* Hover-Effekte für bessere Interaktivität */
.template-card:hover .template-preview {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

.amount-display:hover {
    border-color: var(--secondary);
    box-shadow: 0 0 20px var(--gold-glow);
    transition: all 0.3s ease;
}

/* Responsive Anpassungen für PROFESSIONELLE Darstellung */
@media (max-width: 768px) {
    .voucher-preview {
        min-height: 200px;
        padding: 15px;
    }
    
    .voucher-footer {
        gap: 10px;
    }
    
    .qr-code-preview {
        width: 40px;
        height: 40px;
    }
    
    .amount-icon {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    
    .amount-value {
        font-size: 20px;
    }
    
    .person-info {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .voucher-preview {
        min-height: 180px;
        padding: 12px;
    }
    
    .voucher-footer {
        font-size: 10px;
        gap: 8px;
    }
    
    .qr-code-preview {
        width: 35px;
        height: 35px;
    }
    
    .qr-label {
        font-size: 6px;
    }
    
    .person-label {
        min-width: 25px;
        font-size: 10px;
    }
}

/* Ergänzungen zur voucher-shop.css - VOLLSTÄNDIG RESPONSIVE */

/* Container Responsive Fix */
.container {
    max-width: 100%;
    overflow-x: hidden;
    padding: 10px;
}

/* Main Content - Responsive Layout */
.main-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 100%;
}

/* Desktop Layout */
@media (min-width: 1024px) {
    .main-content {
        grid-template-columns: 1fr 400px;
        gap: 30px;
    }
    
    .container {
        padding: 20px;
        max-width:1200px !important;
    }
}

/* Step Content */
.step-content {
    animation: fadeInUp 0.3s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Step Navigation */
.step-navigation {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 140px;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: 2px solid var(--secondary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--accent);
    border: 2px solid rgba(212, 175, 55, 0.3);
}

.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--secondary);
}

.btn-purchase {
    font-size: 16px;
    padding: 15px 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Preview Card - Mobile First */
.preview-card {
    background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(26,26,26,0.95) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(212, 175, 55, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    order: -1; /* Shows first on mobile */
}

@media (min-width: 1024px) {
    .preview-card {
        position: sticky;
        top: 20px;
        order: 0;
        padding: 30px;
    }
}

.preview-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 20px;
    text-align: center;
}

/* VERBESSERTE VOUCHER PREVIEW - VOLLSTÄNDIG SICHTBAR */
.voucher-preview {
    aspect-ratio: 16/10; /* Besseres Verhältnis für mobile */
    background: linear-gradient(135deg, #1a1a1a, #333333);
    border-radius: 15px;
    padding: 15px;
    color: white;
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
    border: 2px solid var(--secondary);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 20px var(--gold-glow);
    min-height: 200px;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .voucher-preview {
        aspect-ratio: 3/2;
        padding: 20px;
        min-height: 220px;
    }
}

.voucher-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    margin: 10px 0;
}

/* Voucher Footer - KOMPLETT ÜBERARBEITET */
.voucher-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
    gap: 12px;
    font-size: 10px;
    position: relative;
    z-index: 2;
    min-height: 50px;
}

.voucher-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 6px;
}

.voucher-right {
    flex-shrink: 0;
    display: flex;
    align-items: flex-end;
}

.voucher-persons {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-bottom: 4px;
}

.person-info {
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    font-size: 10px;
}

.person-label {
    font-weight: 700;
    color: var(--secondary);
    min-width: 28px;
    font-size: 10px;
}

.voucher-validity {
    font-size: 9px;
    opacity: 0.8;
    color: var(--accent);
}

/* QR Code Preview - OPTIMIERT FÜR SICHTBARKEIT */
.qr-code-preview {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 6px;
    padding: 4px;
    box-shadow: 
        0 3px 12px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.qr-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #000;
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

.qr-pattern {
    width: 100%;
    height: 80%;
    background: 
        linear-gradient(90deg, transparent 12%, #fff 12% 20%, transparent 20% 28%, #fff 28% 36%, transparent 36% 44%, #fff 44% 52%, transparent 52% 60%, #fff 60% 68%, transparent 68% 76%, #fff 76% 84%, transparent 84%),
        linear-gradient(0deg, transparent 12%, #fff 12% 20%, transparent 20% 28%, #fff 28% 36%, transparent 36% 44%, #fff 44% 52%, transparent 52% 60%, #fff 60% 68%, transparent 68% 76%, #fff 76% 84%, transparent 84%);
    background-size: 5px 5px;
    opacity: 0.9;
}

.qr-label {
    font-size: 8px;
    color: #fff;
    font-weight: 700;
    text-align: center;
    margin-top: 1px;
    letter-spacing: 0.5px;
}

/* Template Cards Enhanced */
.template-selector {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    .template-selector {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
}

.template-preview {
    width: 100%;
    height: 70px;
    border-radius: 8px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .template-preview {
        height: 80px;
    }
}

.template-sample {
    text-align: center;
    color: white;
    z-index: 2;
    position: relative;
}

.sample-logo {
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 4px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.sample-amount {
    font-size: 18px;
    font-weight: 900;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* Club Cards - Responsive */
.club-selector {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .club-selector {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

.club-card {
    padding: 15px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(26,26,26,0.8) 100%);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .club-card {
        padding: 20px;
    }
}

/* Payment Methods - Responsive */
.payment-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 15px;
}

@media (min-width: 768px) {
    .payment-methods {
        gap: 10px;
    }
}

.payment-method {
    padding: 12px 8px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.6);
    color: var(--accent);
    font-size: 11px;
    font-weight: 600;
}

@media (min-width: 768px) {
    .payment-method {
        padding: 15px 10px;
        font-size: 12px;
    }
}

/* Form Responsive */
.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

/* Character Counter */
.character-counter {
    text-align: right;
    margin-top: 5px;
    font-size: 12px;
    color: var(--accent);
    opacity: 0.8;
}

/* Price Summary - Mobile Optimized */
.price-summary {
    background: linear-gradient(135deg, rgba(209, 10, 16, 0.1) 0%, rgba(212, 175, 55, 0.1) 100%);
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

@media (min-width: 768px) {
    .price-summary {
        padding: 20px;
    }
}

.price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    color: var(--light);
    font-size: 14px;
}

.price-row.total {
    font-weight: 700;
    font-size: 16px;
    padding-top: 12px;
    border-top: 2px solid rgba(212, 175, 55, 0.3);
    color: var(--secondary);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

@media (min-width: 768px) {
    .price-row.total {
        font-size: 18px;
        padding-top: 15px;
    }
}

/* Trust Badges - Mobile Optimized */
.trust-badges {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 15px;
}

@media (min-width: 768px) {
    .trust-badges {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
}

.trust-badge {
    text-align: center;
    padding: 8px 5px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

@media (min-width: 768px) {
    .trust-badge {
        flex-direction: column;
        gap: 0;
        padding: 10px 5px;
    }
}

.trust-icon {
    font-size: 16px;
}

@media (min-width: 768px) {
    .trust-icon {
        font-size: 20px;
        margin-bottom: 5px;
    }
}

.trust-text {
    font-size: 10px;
    color: var(--accent);
    opacity: 0.8;
    text-align: center;
}

/* Template-spezifische Stile für bessere Vorschau */
.voucher-preview.template-vip {
    background: linear-gradient(135deg, #1a1a1a, #333333) !important;
}

.voucher-preview.template-luxury {
    background: linear-gradient(135deg, #D10A10, #A00000) !important;
}

.voucher-preview.template-gold {
    background: linear-gradient(135deg, #D4AF37, #F0E68C) !important;
    color: #000 !important;
}

.voucher-preview.template-gold .voucher-logo,
.voucher-preview.template-gold .voucher-amount,
.voucher-preview.template-gold .person-label {
    color: #000 !important;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.5) !important;
}

.voucher-preview.template-platinum {
    background: linear-gradient(135deg, #434343, #000000) !important;
}

/* Animation für QR-Code */
@keyframes qrGlow {
    0%, 100% { 
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.9); 
    }
    50% { 
        box-shadow: 0 3px 12px/* Ergänzungen zur voucher-shop.css - PROFESSIONELLE VOUCHER VORSCHAU */

/* Amount Display Section */
.amount-display {
    background: linear-gradient(135deg, rgba(209, 10, 16, 0.1) 0%, rgba(212, 175, 55, 0.1) 100%);
    border-radius: 12px;
    padding: 20px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    margin-bottom: 20px;
}

.selected-amount {
    display: flex;
    align-items: center;
    gap: 15px;
}

.amount-icon {
    font-size: 32px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px var(--gold-glow);
}

.amount-info {
    flex: 1;
}

.amount-value {
    font-size: 24px;
    font-weight: 900;
    color: var(--secondary);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    margin-bottom: 5px;
}

.amount-label {
    color: var(--accent);
    font-size: 14px;
    opacity: 0.9;
}

/* VERBESSERTE VOUCHER PREVIEW - PROFESSIONELL */
.voucher-preview {
    aspect-ratio: 3/2;
    background: linear-gradient(135deg, #1a1a1a, #333333);
    border-radius: 15px;
    padding: 20px;
    color: white;
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
    border: 2px solid var(--secondary);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 20px var(--gold-glow);
    min-height: 220px;
    display: flex;
    flex-direction: column;
}

.voucher-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    margin: 15px 0;
}

/* Voucher Footer - NEUE STRUKTUR */
.voucher-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
    gap: 15px;
    font-size: 11px;
    position: relative;
    z-index: 2;
}

.voucher-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.voucher-right {
    flex-shrink: 0;
    display: flex;
    align-items: flex-end;
}

.voucher-persons {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.person-info {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.person-label {
    font-weight: 700;
    color: var(--secondary);
    min-width: 30px;
    font-size: 11px;
}

.voucher-validity {
    font-size: 10px;
    opacity: 0.8;
    margin-top: 5px;
}

/* QR Code Preview - VERBESSERT */
.qr-code-preview {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 6px;
    padding: 4px;
    box-shadow: 
        0 3px 12px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.qr-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #000;
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

.qr-pattern {
    width: 100%;
    height: 75%;
    background: 
        linear-gradient(90deg, transparent 15%, #fff 15% 25%, transparent 25% 35%, #fff 35% 45%, transparent 45% 55%, #fff 55% 65%, transparent 65% 75%, #fff 75% 85%, transparent 85%),
        linear-gradient(0deg, transparent 15%, #fff 15% 25%, transparent 25% 35%, #fff 35% 45%, transparent 45% 55%, #fff 55% 65%, transparent 65% 75%, #fff 75% 85%, transparent 85%);
    background-size: 6px 6px;
    opacity: 0.9;
}

.qr-label {
    font-size: 7px;
    color: #fff;
    font-weight: 700;
    text-align: center;
    margin-top: 1px;
    letter-spacing: 0.5px;
}

/* Template Cards Enhanced */
.template-preview {
    width: 100%;
    height: 80px;
    border-radius: 8px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    overflow: hidden;
}

.template-sample {
    text-align: center;
    color: white;
    z-index: 2;
    position: relative;
}

.sample-logo {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 5px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.sample-amount {
    font-size: 20px;
    font-weight: 900;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* Character Counter */
.character-counter {
    text-align: right;
    margin-top: 5px;
    font-size: 12px;
    color: var(--accent);
    opacity: 0.8;
}

/* Template-spezifische Stile für bessere Vorschau */
.voucher-preview.template-vip {
    background: linear-gradient(135deg, #1a1a1a, #333333) !important;
}

.voucher-preview.template-luxury {
    background: linear-gradient(135deg, #D10A10, #A00000) !important;
}

.voucher-preview.template-gold {
    background: linear-gradient(135deg, #D4AF37, #F0E68C) !important;
    color: #000 !important;
}

.voucher-preview.template-gold .voucher-logo,
.voucher-preview.template-gold .voucher-amount,
.voucher-preview.template-gold .person-label {
    color: #000 !important;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.5) !important;
}

.voucher-preview.template-platinum {
    background: linear-gradient(135deg, #434343, #000000) !important;
}

/* Animation für QR-Code */
@keyframes qrGlow {
    0%, 100% { 
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.9); 
    }
    50% { 
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.4), 0 0 20px rgba(212, 175, 55, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.9); 
    }
}

.qr-code-preview {
    animation: qrGlow 4s ease-in-out infinite;
}

/* Hover-Effekte für bessere Interaktivität */
.template-card:hover .template-preview {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

.club-card:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.5s ease;
    left: 100%;
}

.club-card:hover {
    border-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 
        0 10px 20px rgba(0, 0, 0, 0.3),
        0 0 30px var(--gold-glow);
}

.club-card.active {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(209, 10, 16, 0.2) 0%, rgba(212, 175, 55, 0.1) 100%);
    box-shadow: 
        0 10px 20px rgba(0, 0, 0, 0.3),
        0 0 30px var(--red-glow);
}

/* Step Indicator - Mobile Responsive */
.step-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    gap: 20px;
    padding: 0 10px;
}

@media (min-width: 768px) {
    .step-indicator {
        gap: 40px;
        margin-bottom: 30px;
    }
}

.step {
    display: flex;
    align-items: center;
    opacity: 0.5;
    transition: all 0.3s ease;
    flex-direction: column;
    text-align: center;
}

@media (min-width: 768px) {
    .step {
        flex-direction: row;
    }
}

.step.active {
    opacity: 1;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gray), var(--gray-dark));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 5px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
    font-size: 12px;
}

@media (min-width: 768px) {
    .step-number {
        width: 35px;
        height: 35px;
        margin-right: 12px;
        margin-bottom: 0;
        font-size: 14px;
    }
}

.step.active .step-number {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-color: var(--secondary);
    box-shadow: 0 0 15px var(--red-glow);
}

.step span {
    color: var(--accent);
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    font-size: 11px;
}

@media (min-width: 768px) {
    .step span {
        font-size: 14px;
    }
}

/* Security Info */
.security-info {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 11px;
    opacity: 0.8;
    margin-bottom: 15px;
    text-align: center;
}

@media (min-width: 768px) {
    .security-info {
        font-size: 12px;
        margin-bottom: 20px;
    }
}

.security-info::before {
    content: '🔒';
    margin-right: 6px;
}

/* Form Section Styling */
.form-section {
    margin-bottom: 25px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(209, 10, 16, 0.05) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

@media (min-width: 768px) {
    .form-section {
        margin-bottom: 30px;
        padding: 25px;
    }
}

.form-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--secondary);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (min-width: 768px) {
    .form-section h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }
}

/* Input Styling */
input, textarea, select {
    width: 100%;
    padding: 12px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.6);
    color: var(--light);
    font-family: inherit;
}

@media (min-width: 768px) {
    input, textarea, select {
        padding: 15px;
    }
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 
        0 0 10px var(--gold-glow),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Checkbox Styling - Mobile Optimized */
.checkbox-group {
    margin-bottom: 15px;
}

.checkbox {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    position: relative;
    line-height: 1.4;
    font-size: 13px;
}

@media (min-width: 768px) {
    .checkbox {
        font-size: 14px;
    }
}

.checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 0;
    height: 0;
}

.checkmark {
    height: 18px;
    width: 18px;
    background-color: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 3px;
    margin-right: 10px;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .checkmark {
        height: 20px;
        width: 20px;
    }
}

.checkbox:hover .checkmark {
    border-color: var(--secondary);
}

.checkbox input:checked ~ .checkmark {
    background-color: var(--secondary);
    border-color: var(--secondary);
}

.checkbox input:checked ~ .checkmark::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

@media (min-width: 768px) {
    .checkbox input:checked ~ .checkmark::after {
        left: 6px;
        top: 2px;
        width: 6px;
        height: 10px;
    }
}

.checkbox a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.checkbox a:hover {
    color: var(--accent);
}

/* Voucher Builder - Mobile First */
.voucher-builder {
    background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(26,26,26,0.95) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(212, 175, 55, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    .voucher-builder {
        padding: 30px;
    }
}

/* Prevent horizontal overflow */
* {
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
}

.container, .main-content, .voucher-builder, .preview-card {
    max-width: 100%;
    overflow-x: hidden;
}

/* Fix für Template Cards auf sehr kleinen Bildschirmen */
@media (max-width: 480px) {
    .template-selector {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .club-selector {
        gap: 10px;
    }
    
    .club-card {
        padding: 12px;
    }
    
    .voucher-preview {
        min-height: 160px;
        padding: 12px;
        aspect-ratio: 16/9;
    }
    
    .voucher-footer {
        font-size: 9px;
        min-height: 40px;
        gap: 8px;
    }
    
    .qr-code-preview {
        width: 40px;
        height: 40px;
    }
    
    .person-info {
        font-size: 9px;
    }
    
    .person-label {
        min-width: 24px;
        font-size: 9px;
    }
    
    .voucher-validity {
        font-size: 8px;
    }
    
    .qr-label {
        font-size: 6px;
    }
    
    .step-navigation {
        flex-direction: column;
    }
    
    .step-navigation .btn {
        width: 100%;
    }
}

/* Responsive Anpassungen für PROFESSIONELLE Darstellung */
@media (max-width: 768px) {
    .voucher-preview {
        min-height: 200px;
        padding: 15px;
    }
    
    .voucher-footer {
        gap: 10px;
    }
    
    .qr-code-preview {
        width: 40px;
        height: 40px;
    }
    
    .amount-icon {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    
    .amount-value {
        font-size: 20px;
    }
    
    .person-info {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .voucher-preview {
        min-height: 180px;
        padding: 12px;
    }
    
    .voucher-footer {
        font-size: 10px;
        gap: 8px;
    }
    
    .qr-code-preview {
        width: 35px;
        height: 35px;
    }
    
    .qr-label {
        font-size: 6px;
    }
    
    .person-label {
        min-width: 25px;
        font-size: 10px;
    }
}

