/* eCardino Master CSS - Extrahiert aus dem funktionierenden Original */

/* Dancing Script Font - LOKAL GEHOSTET */
@font-face {
    font-family: 'Dancing Script';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/DancingScript-Regular.ttf') format('truetype');
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

h1 {
    color: #667eea;
    margin-bottom: 10px;
    font-size: 28px;
}

h1 a {
    color: #667eea;
    text-decoration: none;
}

h1 a:hover {
    text-decoration: underline;
}

h2 {
    color: #667eea;
    margin-bottom: 10px;
    font-size: 24px;
}

h2 a {
    color: #667eea;
    text-decoration: none;
}

h2 a:hover {
    text-decoration: underline;
}

.subtitle {
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
}

.price {
    background: #f0f4ff;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
}

.price strong {
    color: #667eea;
    font-size: 24px;
}

.main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 900px) {
    .main-grid {
        grid-template-columns: 1fr;
    }
}

.form-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
}

.preview-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
}

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

label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    font-size: 14px;
}

select, input, textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

select:focus, input:focus, textarea:focus {
    outline: none;
    border-color: #667eea;
}

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

#canvas {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.preview-label {
    margin-bottom: 15px;
    font-weight: 600;
    color: #333;
}

.btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
    margin-top: 10px;
}

.btn:hover {
    transform: translateY(-2px);
}

.info {
    background: #fff3cd;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    font-size: 13px;
    color: #856404;
}

/* NEU: SEO Content Box */
.seo-content {
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.seo-content h3 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 20px;
}

.seo-content h4 {
    color: #333;
    margin-top: 15px;
    margin-bottom: 10px;
    font-size: 16px;
}

.seo-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.snippet-box {
    background: #e3f2fd;
    border-left: 4px solid #667eea;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 5px;
}

.snippet-box p {
    color: #333;
    font-weight: 500;
}

.faq-section {
    margin-top: 15px;
}

.faq-section a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.faq-section a:hover {
    text-decoration: underline;
}

.cta-box {
    margin-top: 15px;
    text-align: center;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.2s;
}

.cta-button:hover {
    transform: translateY(-2px);
}

.author-box {
    margin-top: 20px;
    padding: 20px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.author-box h5 {
    color: #667eea;
    margin-bottom: 10px;
    font-size: 16px;
}

.author-box p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.author-box a {
    color: #667eea;
    text-decoration: none;
}

.author-box a:hover {
    text-decoration: underline;
}

.premium-hint {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    text-align: center;
}

.premium-hint a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.copyright-notice {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 12px 15px;
    margin-bottom: 15px;
    border-radius: 5px;
    font-size: 11px;
    color: #856404;
    text-align: center;
}

.copyright-notice a {
    color: #667eea;
    text-decoration: none;
}

.copyright-notice a:hover {
    text-decoration: underline;
}

.footer {
    text-align: center;
    margin-top: 20px;
    padding: 20px;
    color: #666;
    font-size: 12px;
}

.footer a {
    color: #667eea;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

#paypal-button-container {
    margin: 20px 0;
}

/* E-E-A-T Autorenbox mit Textumfluss (float) */
.ecardino-autorenbox {
    margin: 20px 0;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 10px;
    overflow: hidden;
}

.ecardino-autor-bild {
    float: left;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 20px 5px 0;
    border: 3px solid #ffffff;
    shape-outside: circle();
}

.ecardino-autorenbox .autor-titel {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
}

.ecardino-autorenbox p {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.ecardino-autorenbox a {
    color: #ffd700 !important;
    text-decoration: underline;
}

/* FAQ Items Styling */
.faq-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.faq-item:last-of-type {
    border-bottom: none;
}

.faq-item p {
    margin-bottom: 5px;
}

/* Responsive Autorenbox */
@media (max-width: 600px) {
    .ecardino-autorenbox {
        text-align: center;
    }
    
    .ecardino-autor-bild {
        float: none;
        display: block;
        margin: 0 auto 15px auto;
    }
}

/* ACCESSIBILITY FIXES - Kontrast */
.info { color: #1a1a1a !important; }
.info strong { color: #1a1a1a !important; }
small { color: #333333 !important; }
.seo-content a { color: #0056b3 !important; text-decoration: underline; }
.seo-content a:hover { color: #003d82 !important; }
.cta-button { background-color: #0056b3 !important; color: #ffffff !important; }
.snippet-box { color: #1a1a1a !important; }
.premium-hint { color: #1a1a1a !important; }
.premium-hint strong { color: #1a1a1a !important; }
.premium-hint a { color: #0056b3 !important; text-decoration: underline; }
.copyright-notice { color: #1a1a1a !important; }
.copyright-notice strong { color: #1a1a1a !important; }
.copyright-notice a { color: #0056b3 !important; text-decoration: underline; }
.author-box { color: #1a1a1a !important; }
.author-box strong { color: #1a1a1a !important; }
.author-box a { color: #0056b3 !important; text-decoration: underline; }
.author-box h5 { color: #1a1a1a !important; }
.faq-section a { color: #0056b3 !important; text-decoration: underline; }
.faq-section strong { color: #1a1a1a !important; }
.faq-section h4 { color: #1a1a1a !important; }
.faq-item p { color: #333333 !important; }
.ecardino-autorenbox { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important; color: #ffffff !important; }
.ecardino-autorenbox .autor-titel { color: #ffffff !important; }
.ecardino-autorenbox p { color: #ffffff !important; }
.ecardino-autorenbox a { color: #ffd700 !important; text-decoration: underline; }
.btn { color: #ffffff !important; background-color: #0056b3 !important; }
a { color: #0056b3 !important; }
strong { color: #1a1a1a !important; }
h4 { color: #1a1a1a !important; }
h5 { color: #1a1a1a !important; }

/* KATEGORIE MENÜ */
.kategorie-menu {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 15px 0;
    margin: 20px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.kategorie-menu a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 5px;
    transition: all 0.3s;
}

.kategorie-menu a:hover {
    background: #667eea;
    color: white !important;
}

@media (max-width: 600px) {
    .kategorie-menu {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .kategorie-menu a {
        font-size: 13px;
        padding: 6px 12px;
    }
}

/* GOOGLE FRAGEN BOX */
.google-fragen-box {
    margin: 15px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6;
    font-family: Arial, sans-serif;
    color: #000000;
}

.snippet-fragen h2 {
    font-size: 16px;
    margin: 10px 0;
    font-weight: 600;
    color: #000000;
    font-family: Arial, sans-serif;
}

.snippet-fragen h3 {
    font-size: 15px;
    margin: 10px 0 5px 0;
    font-weight: 600;
    color: #000000;
    font-family: Arial, sans-serif;
}

/* INFO BOX CENTERED */
.info-centered {
    text-align: center;
    font-size: 18px;
    padding: 20px;
}

/* BASIC GENERATOR SPEZIFISCH */
fieldset { 
    border: none !important; 
    padding: 0; 
    margin: 0; 
}

legend { 
    padding: 0; 
    margin-bottom: 10px; 
}

.template-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.template-option {
    position: relative;
}

.template-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.template-label {
    display: block;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.template-option input[type="radio"]:checked + .template-label {
    border-color: #667eea;
    background: #f0f4ff;
}

